public void WithoutFilter_ResetFilterProperty() { // Arrange var filter = Guid.NewGuid().ToString(); var sut = new LoggerOptions(); // Act sut.WithFilter(filter); sut.WithoutFilter(); // Assert sut.Filter.Should().BeNull(); }