diff --git a/src/test/java/de/hsfulda/onses/GameServiceTest.java b/src/test/java/de/hsfulda/onses/GameServiceTest.java index d4b5753..dceb8f7 100644 --- a/src/test/java/de/hsfulda/onses/GameServiceTest.java +++ b/src/test/java/de/hsfulda/onses/GameServiceTest.java @@ -291,4 +291,14 @@ public class GameServiceTest { assertEquals(Card.Color.BLACK, card.getColor()); } + + @Test + @DisplayName("CheckThatPlayerReceivedSevenCards") + public void CheckThatPlayerReceivedSevenCards() { + GameService gameService = new GameService(); + + int numberOfCards = gameService.getGame().getPlayerService().getPlayerList().getFirst().getPlayerDeck().size(); + + assertEquals(7, numberOfCards); + } }