### Question:
PhasingVoteTable extends EntityDbTable<PhasingVote> { public PhasingVote get(long phasedTransactionId, long voterId) { return get(KEY_FACTORY.newKey(phasedTransactionId, voterId)); } PhasingVoteTable(); @Override PhasingVote load(Connection con, ResultSet rs, DbKey dbKey); @Override void save(Connection con, PhasingVote vote); PhasingVote get(long phasedTransactionId, long voterId); List<PhasingVote> get(long phasingTransactionId);  }### Answer:
@Test void testGetByPhasingIdAndVoterId() { PhasingVote phasingVote = table.get(ptd.POLL_1_VOTE_0.getPhasedTransactionId(), ptd.POLL_1_VOTE_0.getVoterId()); assertEquals(ptd.POLL_1_VOTE_0, phasingVote); }
@Test void getByPhasingId() { List<PhasingVote> phasingVotes = table.get(ptd.POLL_1_VOTE_1.getPhasedTransactionId()); assertEquals(phasingVotes, List.of(ptd.POLL_1_VOTE_1, ptd.POLL_1_VOTE_0)); }
@Test void testInsert() { DbUtils.inTransaction(extension, (con) -> table.insert(ptd.NEW_VOTE)); List<PhasingVote> phasingVotes = table.get(ptd.POLL_1.getId()); assertEquals(phasingVotes, List.of(ptd.POLL_1_VOTE_1, ptd.POLL_1_VOTE_0, ptd.NEW_VOTE)); }