public void WhenTestingAFullTestcaseClassShouldLogEverything()
{
MockLogger logger = new MockLogger();
LogAttribute.Logger = logger;
FullTestClass testClass = new FullTestClass
{
Value = Guid.NewGuid().ToString()
};
testClass.Value.Should().NotBeNullOrEmpty();
FullTestClass.EmbeddedMethod();
logger.DebugCallCount.Should().Be(15, "because we call the Entry, Exit and Success methods for the constructor, property and methods, even private method");
}