### Question:
JooqShipInConstructionDAO extends AbstractJooqDAO implements ShipInConstructionDAO { @Override public void delete(ShipInConstruction shipInConstruction) { Preconditions.checkNotNull(shipInConstruction, "shipInConstruction"); LOGGER.debug("Deleting ship in construction {}", shipInConstruction); context().delete(SHIP_IN_CONSTRUCTION).where(SHIP_IN_CONSTRUCTION.ID.eq(shipInConstruction.getId())).execute(); } @Inject  JooqShipInConstructionDAO(UnitOfWorkService unitOfWorkService); @Override void insert(ShipInConstruction shipInConstruction); @Override List<ShipInConstruction> findWithDone(long round); @Override List<ShipInConstruction> findWithPlanetId(UUID planetId); @Override void delete(ShipInConstruction shipInConstruction);  }### Answer:
@Test public void testDelete() throws Exception { ShipInConstruction toDelete = ShipInConstructionScenario.Player1.Planet1.SHIP_IN_CONSTRUCTION; sut.delete(toDelete); List<Map<String, Object>> rows = select("SELECT * FROM ship_in_construction WHERE id = ?", toDelete.getId()); assertThat(rows, hasSize(0)); }