Aspects.Logging.Tests.LoggingAspectGenericsTests.TestTwoGeneric C# (CSharp) Method

TestTwoGeneric() private method

private TestTwoGeneric ( ) : void
return void
        public void TestTwoGeneric()
        {
            Generic<int> int1 = new Generic<int>
            {
                MyValue = 100
            };
            int1.MyValue.Should().Be(100);
            Generic<string> str = new Generic<string>
            {
                MyValue = "andrei"
            };
            str.MyValue.Should().NotBeNullOrWhiteSpace();
            _logger.DebugCallCount.Should().Be(18, "because we expect it to enter the Entry, Exit and Success for both constructor and property on both instances");
        }
    }