### Question:
EventServiceImpl implements EventService { @Override public List<EventWithPlanet> findSince(UUID playerId, long round) { Preconditions.checkNotNull(playerId, "playerId"); LOGGER.debug("Finding events for player {} since round {}", playerId, round); return eventDAO.findSince(playerId, round); } @Inject  EventServiceImpl(EventDAO eventDAO, UUIDFactory uuidFactory, RoundService roundService); @Override List<EventWithPlanet> findSinceMax(UUID playerId, long round, int max); @Override List<EventWithPlanet> findSince(UUID playerId, long round); @Override Event createBuildingCompletedEvent(UUID playerId, UUID planetId); @Override void createFightHappenedEvent(UUID attackerId, UUID defenderId, UUID planetId, UUID fightId); @Override void createFlightDetectedEvent(UUID attackerId, UUID defenderId, UUID planetId, UUID flightId, UUID detectedFlightId); @Override Event createTransportArrivedEvent(UUID playerId, UUID planetId); @Override Event createPlanetColonizedEvent(UUID playerId, UUID planetId); @Override Event createShipCompletedEvent(UUID playerId, UUID planetId); @Override Event createFlightReturnedEvent(UUID playerId, UUID planetId); @Override Event createTransferArrivedEvent(UUID playerId, UUID planetId); @Override Event createResearchCompletedEvent(UUID playerId, UUID planetId);  }### Answer:
@Test public void testFindSince() throws Exception { UUID playerId = UUID.randomUUID(); Event event = new Event(UUID.randomUUID(), Data.Player1.PLAYER.getId(), Data.Player1.Planet1.PLANET.getId(), EventType.BUILDING_COMPLETED, 1, Optional.empty()); List<EventWithPlanet> expected = Arrays.asList(new EventWithPlanet(event, Data.Player1.Planet1.PLANET)); when(eventDAO.findSince(playerId, 1)).thenReturn(expected); List<EventWithPlanet> actual = sut.findSince(playerId, 1); assertThat(actual, is(expected)); }