Example #1
0
 public void WhenMatchSheetIsNotNullAndDoesNotMatch_IsMatch_ReturnsFalse()
 {
     Assert.False(_lineClassWithSheets.IsMatch(new SimpleRow("Hello", "World")
     {
         Sheet = "Sheet1"
     }, null));
 }
Example #2
0
 public void WhenAllExpressionsMatchAndSectionMatches_IsMatch_ReturnsTrue()
 {
     Assert.True(_lineClassWithSection.IsMatch(new SimpleRow("Hello", "World"), "Foo"));
 }
Example #3
0
 public void WhenAllExpressionsMatch_IsMatch_ReturnsTrue()
 {
     Assert.True(_lineClassWithoutSection.IsMatch(new SimpleRow("Hello", "World"), null));
 }