diff --git a/src/test/java/de/hsfulda/onses/GameServiceTest.java b/src/test/java/de/hsfulda/onses/GameServiceTest.java index 0dd4bd6..3428842 100644 --- a/src/test/java/de/hsfulda/onses/GameServiceTest.java +++ b/src/test/java/de/hsfulda/onses/GameServiceTest.java @@ -424,4 +424,14 @@ public class GameServiceTest { assertFalse(gameService.getTest()); } + + @Test + @DisplayName("CheckIfTestCanBeSetToTrue") + public void CheckIfTestCanBeSetToTrue() { + GameService gameService = new GameService(); + + gameService.setTest(!gameService.getTest()); + + assertTrue(gameService.getTest()); + } }