diff --git a/src/test/java/de/hsfulda/onses/PlayerTest.java b/src/test/java/de/hsfulda/onses/PlayerTest.java index 48b59c9..8f99ad7 100644 --- a/src/test/java/de/hsfulda/onses/PlayerTest.java +++ b/src/test/java/de/hsfulda/onses/PlayerTest.java @@ -80,4 +80,12 @@ public class PlayerTest { String answer = playerService.getPlayerList().getFirst().getPlayerName(); assertEquals(name2, answer); } + + @Test + @DisplayName("BotIsEnemy") + public void BotIsEnemy() { + Player player = new Player(); + player.setEnemy(true); + assertTrue(player.isEnemy()); + } }