private void InitializeBackend()
        {
            gameIdProvider = new Mock<IGameIdProvider>();
            gameIdProvider.Setup(p => p.GetGameId()).Returns(GAME_ID);

            gameStorage = new Mock<IGamesStorage>();

            gameEndChecker = new Mock<IGameEndChecker>();

            easyOpponentAi = new Mock<IPlayerAi>();
            easyOpponentAi.Setup(a => a.MakeMove(It.IsAny<IGameboard>())).Returns(OPPONENT_MOVE - 1);

            hardOpponentAi = new Mock<IPlayerAi>();
            hardOpponentAi.Setup(a => a.MakeMove(It.IsAny<IGameboard>())).Returns(OPPONENT_MOVE - 1);

            backend = new GameBackend(gameStorage.Object, gameEndChecker.Object, gameIdProvider.Object, easyOpponentAi.Object, hardOpponentAi.Object);
        }
 private static IController InitializeGameController()
 {
     var gameBackend = new GameBackend(gameStorage, gameEndChecker, gameIdProvider, easyOpponent, hardOpponent);
     return new GameController(gameBackend);
 }