diff --git a/src/test/java/de/hsfulda/onses/GameServiceTest.java b/src/test/java/de/hsfulda/onses/GameServiceTest.java index 91d2c82..71f2e14 100644 --- a/src/test/java/de/hsfulda/onses/GameServiceTest.java +++ b/src/test/java/de/hsfulda/onses/GameServiceTest.java @@ -287,4 +287,16 @@ public class GameServiceTest { assertTrue(answer); } + + @Test + @DisplayName("CheckFirstCardIsNotBlack") + public void CheckFirstCardIsNotBlack () + { + GameService gameService = new GameService(); + Card card = gameService.getGame().getLastPlayedCard(); + + boolean answer = card.getColor() != Card.Color.BLACK; + + assertTrue(answer); + } }