Beispiel #1
0
    public void ShouldCallRegisterTheGridToTheGameServer()
    {
        IGame game = Substitute.For <IGame>();

        gameManagerSystem.AddGame(game);

        game.Received().RegisterGameToTheGameServer(Arg.Any <IGameServer>());
    }
Beispiel #2
0
 public void AddGame(IGame game)
 {
     gameManagerSystem.AddGame(game);
 }