public void SetUp() { clientManager = new Mock<IClientManager>(); clientUpdater = new Mock<ITicTacToeClientUpdater>(); game = new Mock<ITicTacToe>(); server = new TicTacToeServer(game.Object, clientManager.Object, clientUpdater.Object); }
public void SetUp() { game = MockRepository.GenerateMock<ITicTacToe>(); clientManager = MockRepository.GenerateMock<IClientManager>(); clientUpdater = MockRepository.GenerateMock<ITicTacToeClientUpdater>(); server = new TicTacToeServer( game, clientManager, clientUpdater); }
public TicTacToeHub() { _server = TicTacToeServer.Instance; }