### Question:
JooqTechnologyDAO extends AbstractJooqDAO implements TechnologyDAO { @Override public Technologies findAllWithPlayerId(UUID playerId) { Preconditions.checkNotNull(playerId, "playerId"); LOGGER.debug("Finding technologies with player id {}", playerId); Result<TechnologyRecord> record = context().selectFrom(TECHNOLOGY).where(TECHNOLOGY.PLAYER_ID.eq(playerId)).fetch(); return new Technologies(record.stream().map(this::fromRecord).collect(Collectors.toList())); } @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 testFindAllWithPlayerId() throws Exception { Technologies technologies = sut.findAllWithPlayerId(BasicScenario.Player1.PLAYER.getId()); assertThat(technologies, hasSize(2)); assertThat(technologies.get(0), is(BasicScenario.Player1.TECHNOLOGY_1)); assertThat(technologies.get(1), is(BasicScenario.Player1.TECHNOLOGY_2)); }