public void IsEnabled_ShouldReturnFalse_ForEachLogLevel(LogLevel logLevel) { // arrange var sut = new NullLogger(); // act var result = sut.IsEnabled(logLevel); // assert result.Should().BeFalse(); }
public void NullLogger_IsEnabled_ReturnsTrue(LogLevel logLevel) { var logger = new NullLogger <RulesEngine>(); logger.IsEnabled(logLevel).Equals(true); }