### Question:
PhasingApprovedResultTable extends EntityDbTable<PhasingApprovalResult> { public PhasingApprovalResult get(long id) { return get(KEY_FACTORY.newKey(id)); } PhasingApprovedResultTable(); @Override PhasingApprovalResult load(Connection con, ResultSet rs, DbKey dbKey); PhasingApprovalResult get(long id); @Override void save(Connection con, PhasingApprovalResult phasingPollResult);  }### Answer:
@Test void testInsertNew() { DbUtils.inTransaction(extension, (con) -> table.insert(data.NEW_RESULT)); PhasingApprovalResult phasingApprovalResult = table.get(data.NEW_RESULT.getPhasingTx()); assertEquals(data.NEW_RESULT, phasingApprovalResult); }
@Test void testGetById() { PhasingApprovalResult result = table.get(data.RESULT_1.getPhasingTx()); assertEquals(data.RESULT_1, result); }