コード例 #1
0
 protected void assertRowCount(
     int expectedRows, AbstractModel modelInstance, String joinTableFieldName) {
   String joinTable = modelInstance.getJoinTableName(joinTableFieldName);
   Assert.assertEquals(expectedRows, countRowsInTable(joinTable));
 }
コード例 #2
0
 protected void assertRowCount(int expectedRows, AbstractModel modelInstance) {
   Assert.assertEquals(expectedRows, countRowsInTable(modelInstance.getTableName()));
 }