From b66a34bdc7f06e5067470c7db2d0c681c629f330 Mon Sep 17 00:00:00 2001 From: fdai7920 Date: Fri, 2 Feb 2024 14:39:16 +0100 Subject: [PATCH] Test.Relationship.PlayerService.Game --- src/test/java/de/hsfulda/onses/GameTest.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/test/java/de/hsfulda/onses/GameTest.java b/src/test/java/de/hsfulda/onses/GameTest.java index 13bb0ff..10b0dc8 100644 --- a/src/test/java/de/hsfulda/onses/GameTest.java +++ b/src/test/java/de/hsfulda/onses/GameTest.java @@ -46,4 +46,14 @@ public class GameTest { assertEquals(game.getDrawCardDeck().getFirst(), answer1); assertEquals(game.getDrawCardDeck().get(1), answer2); } + @Test + @DisplayName("RelationshipGame_PlayerService") + public void RelationshipGame_PlayerService() { + // arrange + Game expected = new Game(); + // act + Game answer = expected.getPlayerService().getGame(); + // assert + assertEquals(expected, answer); + } }