diff --git a/src/test/java/de/hsfulda/onses/GameServiceTest.java b/src/test/java/de/hsfulda/onses/GameServiceTest.java index 100ebff..617a523 100644 --- a/src/test/java/de/hsfulda/onses/GameServiceTest.java +++ b/src/test/java/de/hsfulda/onses/GameServiceTest.java @@ -487,4 +487,14 @@ public class GameServiceTest { ArrayList answer = new ArrayList<>(gameService.getGame().getPlayerService().getPlayerList().getFirst().getPlayerDeck()); assertEquals(botDeck, answer); } + + @Test + @DisplayName("PlaySevenBotDeckIsNowPlayerDeck") + public void PlaySevenBotDeckIsNowPlayerDeck() { + GameService gameService = new GameService(); + ArrayList playerDeck = new ArrayList<>(gameService.getGame().getPlayerService().getPlayerList().getFirst().getPlayerDeck()); + gameService.playSeven(); + ArrayList answer = new ArrayList<>(gameService.getGame().getPlayerService().getPlayerList().getLast().getPlayerDeck()); + assertEquals(playerDeck, answer); + } }