Beispiel #1
0
        public void provider_clears_loggers_when_disposed()
        {
            // Arrange
            var provider = new Log4NetProvider();

            provider.CreateLogger("TestLogger");
            provider.CreateLogger("TestLogger1");

            // Act
            provider.Dispose();

            // Assert
            provider.Loggers.Count.Should().Be(0);
        }