@Test
public void getObjectShort() throws SQLException {

    Mockito.when(resultSet.getObject(1)).thenReturn((short) 1);
    Mockito.when(resultSet.getShort(1)).thenReturn((short) 1);
    Assert.assertEquals(Short.valueOf((short) 1),
            GenericDaoBase.getObject(Short.class, resultSet, 1));
    Mockito.verify(resultSet).getShort(1);
}