test(game): strengthen legacy-constructor delegation assertions

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-01 14:19:54 +02:00
parent dd2b1b331f
commit c1826c7df8

View File

@@ -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);
}
}