### Question:
JooqDetectedFlightDAO extends AbstractJooqDAO implements DetectedFlightDAO { @Override public void delete(UUID id) { Preconditions.checkNotNull(id, "id"); LOGGER.debug("Deleting detected flight with id {}", id); context().delete(DETECTED_FLIGHT).where(DETECTED_FLIGHT.FLIGHT_ID.eq(id)).execute(); } @Inject  JooqDetectedFlightDAO(UnitOfWorkService unitOfWorkService); @Override void insert(DetectedFlight detectedFlight); @Override List<DetectedFlightWithSender> findWithPlayer(UUID playerId); @Override void delete(UUID id);  }### Answer:
@Test public void testDelete() throws Exception { DetectedFlight detectedFlight = FlightScenario.Player1.DETECTED_FLIGHT; sut.delete(detectedFlight.getFlightId()); List<Map<String, Object>> rows = select("SELECT * FROM detected_flight WHERE flight_id = ?", detectedFlight.getFlightId()); assertThat(rows, hasSize(0)); }