@Test
public void getObjectDouble() throws SQLException {

    Mockito.when(resultSet.getObject(1)).thenReturn(0.1d);
    Mockito.when(resultSet.getDouble(1)).thenReturn(0.1d);
    Assert.assertEquals(0.1d,
            GenericDaoBase.getObject(Double.class, resultSet, 1), 0.1);
    Mockito.verify(resultSet).getDouble(1);
}