### Question:
JooqTechnologyDAO extends AbstractJooqDAO implements TechnologyDAO { @Override public void update(Technology technology) { Preconditions.checkNotNull(technology, "technology"); LOGGER.debug("Updating technology {}", technology); context().update(TECHNOLOGY) .set(TECHNOLOGY.TYPE, technology.getType().getId()) .set(TECHNOLOGY.PLAYER_ID, technology.getPlayerId()) .set(TECHNOLOGY.LEVEL, technology.getLevel()) .where(TECHNOLOGY.ID.eq(technology.getId())) .execute(); } @Inject  JooqTechnologyDAO(UnitOfWorkService unitOfWorkService); @Override Technologies findAllWithPlayerId(UUID playerId); @Override Optional<Technology> findWithPlayerId(UUID playerId, TechnologyType type); @Override void update(Technology technology); @Override void insert(Technology technology);  }### Answer:
@Test public void testUpdate() throws Exception { Technology updatedTechnology = new Technology(BasicScenario.Player1.TECHNOLOGY_1.getId(), TechnologyType.COMBUSTION_ENGINE, 5, BasicScenario.Player2.PLAYER.getId()); sut.update(updatedTechnology); List<Map<String, Object>> rows = select("SELECT * FROM technology WHERE id = ?", updatedTechnology.getId()); assertThat(rows, hasSize(1)); verifyRow(rows.get(0), updatedTechnology); }