diff --git a/src/test/java/de/hsfulda/onses/GameServiceTest.java b/src/test/java/de/hsfulda/onses/GameServiceTest.java index 81ab433..91d2c82 100644 --- a/src/test/java/de/hsfulda/onses/GameServiceTest.java +++ b/src/test/java/de/hsfulda/onses/GameServiceTest.java @@ -276,4 +276,15 @@ public class GameServiceTest { assertEquals(expected, counter); } + @Test + @DisplayName("CheckFirstCardIsSet") + public void CheckFirstCardIsSet () + { + GameService gameService = new GameService(); + Card card = gameService.getGame().getLastPlayedCard(); + + boolean answer = card != null; + + assertTrue(answer); + } }