### Question:
JooqConstructionSiteDAO extends AbstractJooqDAO implements ConstructionSiteDAO { @Override public List<ConstructionSite> findWithDone(long round) { LOGGER.debug("Finding construction sites with done {}", round); Result<ConstructionSiteRecord> result = context() .selectFrom(CONSTRUCTION_SITE).where(CONSTRUCTION_SITE.DONE.eq(round)).fetch(); return result.stream().map(this::fromRecord).collect(Collectors.toList()); } @Inject  JooqConstructionSiteDAO(UnitOfWorkService unitOfWorkService); @Override void insert(ConstructionSite constructionSite); @Override List<ConstructionSite> findWithPlanetId(UUID planetId); @Override List<ConstructionSite> findWithDone(long round); @Override void delete(ConstructionSite constructionSite);  }### Answer:
@Test public void testFindWithDone() throws Exception { List<ConstructionSite> constructionSites = sut.findWithDone(ConstructionSiteScenario.Player1.Planet1.CONSTRUCTION_SITE.getDone()); assertThat(constructionSites, hasSize(1)); assertThat(constructionSites.get(0), is(ConstructionSiteScenario.Player1.Planet1.CONSTRUCTION_SITE)); }