Aspects.Logging.Tests.LoggingAspectBaseFunctionalityTests.WhenCallingWorkingMethodShouldHitDebug3Times C# (CSharp) Méthode

WhenCallingWorkingMethodShouldHitDebug3Times() private méthode

private WhenCallingWorkingMethodShouldHitDebug3Times ( ) : void
Résultat void
        public void WhenCallingWorkingMethodShouldHitDebug3Times()
        {
            // act
            SomeMethod(1, null);

            // assert
            _logger.DebugCallCount.Should().Be(3, "because we only hit the Entry, Success, and Exit methods");
        }