From 4419a013380b8ca442b065b378a5591d496c7163 Mon Sep 17 00:00:00 2001 From: fdai7793 Date: Mon, 5 Feb 2024 19:24:20 +0100 Subject: [PATCH] Test.CheckIfTestWasInitializedWithFalse --- src/test/java/de/hsfulda/onses/GameServiceTest.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/test/java/de/hsfulda/onses/GameServiceTest.java b/src/test/java/de/hsfulda/onses/GameServiceTest.java index d84fdc7..0dd4bd6 100644 --- a/src/test/java/de/hsfulda/onses/GameServiceTest.java +++ b/src/test/java/de/hsfulda/onses/GameServiceTest.java @@ -416,4 +416,12 @@ public class GameServiceTest { assertTrue(answer); } + + @Test + @DisplayName("CheckIfTestWasInitializedWithFalse") + public void CheckIfTestWasInitializedWithFalse() { + GameService gameService = new GameService(); + + assertFalse(gameService.getTest()); + } }