diff --git a/Semesterprojekt/src/test/java/thb/jeanluc/adventure/game/GameSessionTest.java b/Semesterprojekt/src/test/java/thb/jeanluc/adventure/game/GameSessionTest.java index 9c729f0..d493cab 100644 --- a/Semesterprojekt/src/test/java/thb/jeanluc/adventure/game/GameSessionTest.java +++ b/Semesterprojekt/src/test/java/thb/jeanluc/adventure/game/GameSessionTest.java @@ -48,5 +48,7 @@ class GameSessionTest { GameContext ctx = new GameContext(w, new Player(k, 0), new TestIO()); assertThat(ctx.getSession()).isNotNull(); assertThat(ctx.getSession().getTurn()).isZero(); + assertThat(ctx.getWorld()).isSameAs(w); + assertThat(ctx.getPlayer().getCurrentRoom()).isSameAs(k); } }