### Question:
JooqPlanetDAO extends AbstractJooqDAO implements PlanetDAO { @Override public List<Planet> findAll() { LOGGER.debug("Finding all planets"); return context().select().from(PLANET).orderBy(PLANET.COLONIZED_IN_ROUND).fetch().stream().map(PlanetMapper::fromRecord).collect(Collectors.toList()); } @Inject  JooqPlanetDAO(UnitOfWorkService unitOfWorkService); @Override void insert(Planet planet); @Override List<Planet> findWithOwnerId(UUID ownerId); @Override Optional<Planet> findWithLocation(Location location); @Override void update(Planet planet); @Override List<Planet> findAll(); @Override Optional<Planet> findWithId(UUID id); @Override List<PlanetWithOwner> findInRange(int galaxyMin, int galaxyMax, int solarSystemMin, int solarSystemMax, int planetMin, int planetMax);  }### Answer:
@Test public void testFindAll() throws Exception { List<Planet> planets = sut.findAll(); assertThat(planets, hasSize(3)); assertThat(planets.get(0), is(BasicScenario.Player1.Planet1.PLANET)); assertThat(planets.get(1), is(BasicScenario.Player1.Planet2.PLANET)); assertThat(planets.get(2), is(BasicScenario.Player2.Planet1.PLANET)); }