question: protected void assertResultRowCount ( int expected , ResultSet rs ) throws SQLException { int i = 0 ; while ( rs . next ( ) ) { i ++ ; } assertEquals ( expected , i ) ; }
target:  Check that the result set row count matches.