@Test
public void assertGetValueByBoolean() throws SQLException {

    when(resultSetMetaData.getColumnType(1)).thenReturn(Types.BOOLEAN);
    when(resultSet.getBoolean(1)).thenReturn(true);
    assertTrue((boolean) QueryResultUtil.getValue(resultSet, 1));
}