@Test void close() throws SQLException { ResultSetUtil.close(resultSet); verify(resultSet, times(1)).close(); verifyNoMoreInteractions(resultSet); }
public static void close(ResultSet rs) { try { rs.close(); } catch (SQLException e) { throw new RuntimeSqlException(e); } }
ResultSetUtil extends UtilityClass { public static void close(ResultSet rs) { try { rs.close(); } catch (SQLException e) { throw new RuntimeSqlException(e); } } }
ResultSetUtil extends UtilityClass { public static void close(ResultSet rs) { try { rs.close(); } catch (SQLException e) { throw new RuntimeSqlException(e); } }  }
ResultSetUtil extends UtilityClass { public static void close(ResultSet rs) { try { rs.close(); } catch (SQLException e) { throw new RuntimeSqlException(e); } }  static String getString(ResultSet rs, String columnLabel); static void close(ResultSet rs); static Stream<T> stream(ResultSet rs, RowMapper<T> rowMapper); static Stream<T> stream(ThrowingSupplier<ResultSet, ? extends SQLException> rs, RowMapper<T> rowMapper); }
ResultSetUtil extends UtilityClass { public static void close(ResultSet rs) { try { rs.close(); } catch (SQLException e) { throw new RuntimeSqlException(e); } }  static String getString(ResultSet rs, String columnLabel); static void close(ResultSet rs); static Stream<T> stream(ResultSet rs, RowMapper<T> rowMapper); static Stream<T> stream(ThrowingSupplier<ResultSet, ? extends SQLException> rs, RowMapper<T> rowMapper);  }