public void TestIsEquivalent1() { var config = new LogEntryCountAnalyserConfiguration(); config.IsEquivalent(null).Should().BeFalse(); config.IsEquivalent(new Mock <ILogAnalyserConfiguration>().Object).Should().BeFalse(); }
public void TestIsEquivalent2() { var config1 = new LogEntryCountAnalyserConfiguration(); var config2 = new LogEntryCountAnalyserConfiguration(); config1.IsEquivalent(config2).Should().BeTrue(); config2.IsEquivalent(config1).Should().BeTrue(); }
public void TestIsEquivalent3() { var config1 = new LogEntryCountAnalyserConfiguration(); var config2 = new LogEntryCountAnalyserConfiguration { QuickFilters = { new QuickFilter { Value = "foo" } } }; config1.IsEquivalent(config2).Should().BeFalse(); config2.IsEquivalent(config1).Should().BeFalse(); }