question: public static void assertNullability ( ResultSet rs , boolean [ ] nullability ) throws SQLException { ResultSetMetaData rsmd = rs . getMetaData ( ) ; int actualCols = rsmd . getColumnCount ( ) ; assertEquals ( "Unexpected column count:" , nullability . length , rsmd . getColumnCount ( ) ) ; for ( int i = 0 ; i < actualCols ; i ++ ) { int expected = nullability [ i ] ? ResultSetMetaData . columnNullable : ResultSetMetaData . columnNoNulls ; assertEquals ( "Column nullability do not match for column " + ( i + 1 ) , expected , rsmd . isNullable ( i + 1 ) ) ; } }
target:  Check the nullability of the column definitions for the ResultSet matches the expected values.