public void IsDefined_When_Misdefined(string path) { // Arrange var loggingPolicy = new LoggingPolicy { Path = path }; // Act // Assert loggingPolicy.IsDefined().Should().BeFalse(); }
public void IsDefined_When_Well_Defined(string section, string path) { // Arrange var loggingPolicy = new LoggingPolicy { Section = section, Path = path }; // Act // Assert loggingPolicy.IsDefined().Should().BeTrue(); }