Skip to content
Snippets Groups Projects
Commit 945c5133 authored by Erik Moravec's avatar Erik Moravec
Browse files

test: fix call from service to facade

parent ae742b66
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@ public class TeamManagerFacadeImplTest {
@Test
public void getFreePlayersEmpty() {
when(playerService.getFreePlayers()).thenReturn(new ArrayList<>());
assertThat(playerService.getFreePlayers()).isEmpty();
assertThat(teamManagerFacade.getFreePlayers()).isEmpty();
verify(playerService).getFreePlayers();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment