public void test_getObject() throws Exception { resultSet.next(); resultSet.getObject(1, (java.util.Map) null); resultSet.getObject("1", (java.util.Map) null); { SQLException error = null; try { resultSet.getObject(0, (java.util.Map) null); } catch (SQLException ex) { error = ex; } Assert.assertNotNull(error); } { SQLException error = null; try { resultSet.getObject("0", (java.util.Map) null); } catch (SQLException ex) { error = ex; } Assert.assertNotNull(error); } }
public void test_getObject_1() throws Exception { resultSet.next(); resultSet.getObject(1); resultSet.getObject("1"); { SQLException error = null; try { resultSet.getObject(0); } catch (SQLException ex) { error = ex; } Assert.assertNotNull(error); } { SQLException error = null; try { resultSet.getObject("0"); } catch (SQLException ex) { error = ex; } Assert.assertNotNull(error); } }