### Question:
TaggedDataTimestampDao extends EntityDbTable<TaggedDataTimestamp> { public DbKey newDbKey(TaggedDataTimestamp dataTimestamp) { return timestampKeyFactory.newKey(dataTimestamp.getId()); } TaggedDataTimestampDao(); DbKey newDbKey(TaggedDataTimestamp dataTimestamp); @Override TaggedDataTimestamp load(Connection con, ResultSet rs, DbKey dbKey); void save(Connection con, TaggedDataTimestamp dataTimestamp);  }### Answer:
@Test void getDataStampById() { DbKey dbKey = dataTimestampDao.newDbKey(tagtd.TagDTsmp_1); TaggedDataTimestamp stamp = dataTimestampDao.get(dbKey); assertNotNull(stamp); assertEquals(stamp.getId(), tagtd.TagDTsmp_1.getId()); }