### Question:
FightServiceImpl implements FightService { @Override public List<FightWithPlanetAndPlayer> findFightsWithPlayerSinceRound(Player player, long round) { Preconditions.checkNotNull(player, "player"); return fightDAO.findFightsWithPlayerSinceRound(player.getId(), round); } @Inject  FightServiceImpl(FightDAO fightDAO); @Override Optional<FightWithPlanetAndPlayer> findFight(UUID id); @Override List<FightWithPlanetAndPlayer> findFightsWithPlayerSinceRound(Player player, long round);  }### Answer:
@Test public void testFindFightsWithPlayerSinceRound() throws Exception { List<FightWithPlanetAndPlayer> expected = Arrays.asList(FIGHT_WITH_PLANET_AND_PLAYER); when(fightDAO.findFightsWithPlayerSinceRound(Data.Player1.PLAYER.getId(), 1)).thenReturn(expected); List<FightWithPlanetAndPlayer> actual = sut.findFightsWithPlayerSinceRound(Data.Player1.PLAYER, 1); assertThat(actual, is(expected)); }