Beispiel #1
0
 public TableAssert HasRowWithValues(params TableMatcher[] matchers)
 {
     Assert.IsFalse(Table_Matcher.Invoke(Table, matchers).Count.Equals(0),
                    "The row does not contain the following values in these columns.");
     return(this);
 }
Beispiel #2
0
 public TableAssert RowsWithValues(int count, params TableMatcher[] matchers)
 {
     Assert.IsTrue(Table_Matcher.Invoke(Table, matchers).Count >= Table.Headers.Count * count,
                   $"The table has less than {count} rows containing the following values in these columns.");
     return(this);
 }