### Question:
DGSPublicFeedbackTable extends ValuesDbTable<DGSPublicFeedback> { public List<DGSPublicFeedback> get(long id) { return get(KEY_FACTORY.newKey(id)); } protected  DGSPublicFeedbackTable(); @Override DGSPublicFeedback load(Connection connection, ResultSet rs, DbKey dbKey); @Override void save(Connection con, DGSPublicFeedback feedback); List<DGSPublicFeedback> get(long id);  }### Answer:
@Test void testGetByPurchaseId() { List<DGSPublicFeedback> feedbacks = table.get(dtd.PUBLIC_FEEDBACK_12.getId()); assertEquals(List.of(dtd.PUBLIC_FEEDBACK_11, dtd.PUBLIC_FEEDBACK_12, dtd.PUBLIC_FEEDBACK_13), feedbacks); }
@Test void testGetDeletedByPurchaseId() { List<DGSPublicFeedback> feedbacks = table.get(dtd.PUBLIC_FEEDBACK_8.getId()); assertEquals(0, feedbacks.size()); }
@Test void testNonexistentById() { List<DGSPublicFeedback> feedbacks = table.get(-1); assertEquals(0, feedbacks.size()); }