### Question:
FightServiceImpl implements FightService { @Override public Optional<FightWithPlanetAndPlayer> findFight(UUID id) { return fightDAO.findWithId(id); } @Inject  FightServiceImpl(FightDAO fightDAO); @Override Optional<FightWithPlanetAndPlayer> findFight(UUID id); @Override List<FightWithPlanetAndPlayer> findFightsWithPlayerSinceRound(Player player, long round);  }### Answer:
@Test public void testFindFight() throws Exception { UUID id = UUID.randomUUID(); Optional<FightWithPlanetAndPlayer> expected = Optional.of(FIGHT_WITH_PLANET_AND_PLAYER); when(fightDAO.findWithId(id)).thenReturn(expected); Optional<FightWithPlanetAndPlayer> actual = sut.findFight(id); assertThat(actual, is(expected)); }