@Test
public void assertGetValueByOther() throws SQLException {

    Object object = new Object();
    when(resultSetMetaData.getColumnType(1)).thenReturn(Types.OTHER);
    when(resultSet.getObject(1)).thenReturn(object);
    assertThat(QueryResultUtil.getValue(resultSet, 1), is(object));
}