From 0cd4f695f31c6e47dab7c68db86587995df6a8e0 Mon Sep 17 00:00:00 2001 From: fdai7920 Date: Fri, 2 Feb 2024 14:11:29 +0100 Subject: [PATCH] Test.Relationship.Game.GameService --- src/test/java/de/hsfulda/onses/GameServiceTest.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/test/java/de/hsfulda/onses/GameServiceTest.java b/src/test/java/de/hsfulda/onses/GameServiceTest.java index 7be6f27..02438e8 100644 --- a/src/test/java/de/hsfulda/onses/GameServiceTest.java +++ b/src/test/java/de/hsfulda/onses/GameServiceTest.java @@ -157,4 +157,16 @@ public class GameServiceTest { } } } + + @Test + @DisplayName("RelationshipGameService_Game") + public void RelationshipGameService_Game() + { + // arrange + GameService expected = new GameService(); + //act + GameService answer = expected.getGame().getGameService(); + // assert + assertEquals(expected, answer); + } }