DelegatingResultRow implements ResultRow { @Override public float getFloat(int columnIndex) throws OntoDriverException { return resultSet.getFloat(columnIndex); } DelegatingResultRow(ResultSet resultSet); @Override int findColumn(String columnLabel); @Override int getColumnCount(); @Override boolean isBound(int variableIndex); @Override boolean isBound(String variableName); @Override boolean getBoolean(int columnIndex); @Override boolean getBoolean(String columnLabel); @Override byte getByte(int columnIndex); @Override byte getByte(String columnLabel); @Override double getDouble(int columnIndex); @Override double getDouble(String columnLabel); @Override float getFloat(int columnIndex); @Override float getFloat(String columnLabel); @Override int getInt(int columnIndex); @Override int getInt(String columnLabel); @Override long getLong(int columnIndex); @Override long getLong(String columnLabel); @Override Object getObject(int columnIndex); @Override Object getObject(String columnLabel); @Override T getObject(int columnIndex, Class<T> cls); @Override T getObject(String columnLabel, Class<T> cls); @Override short getShort(int columnIndex); @Override short getShort(String columnLabel); @Override String getString(int columnIndex); @Override String getString(String columnLabel); @Override int getIndex();  }
@Test void getFloatByIndexDelegatesCallToResultSet() throws OntoDriverException { sut.getFloat(2); verify(resultSet).getFloat(2); }
@Test void getFloatByNameDelegatesCallToResultSet() throws OntoDriverException { sut.getFloat("test"); verify(resultSet).getFloat("test"); }