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

        gameManagerSystem.AddGame(game);

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