### Question:
JooqConstructionSiteDAO extends AbstractJooqDAO implements ConstructionSiteDAO { @Override public void delete(ConstructionSite constructionSite) { Preconditions.checkNotNull(constructionSite, "constructionSite"); LOGGER.debug("Deleting construction site {}", constructionSite); context().delete(CONSTRUCTION_SITE).where(CONSTRUCTION_SITE.ID.eq(constructionSite.getId())).execute(); } @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 testDelete() throws Exception { sut.delete(ConstructionSiteScenario.Player1.Planet1.CONSTRUCTION_SITE); List<Map<String, Object>> result = select("SELECT * FROM construction_site WHERE id = ?", ConstructionSiteScenario.Player1.Planet1.CONSTRUCTION_SITE.getId()); assertThat(result, hasSize(0)); }