@Test public void testGetInfoRowSet() { CachedRowSet rws; try { rws = new CachedRowSetImpl(); rws.setCommand(ALLEGATO5_FIND_BYPK); rws.setInt(1, 6); rws.execute(conn); rws.next(); allegato5 = Allegato5Assembler.getInfo(rws); rws.close(); db.closeConnection(conn); } catch (SQLException e) { fail(e.getMessage()); } catch (DBAccessException e) { fail(e.getMessage()); } }