Пример #1
0
 public void SetUp()
 {
     gameDriver = new TraditionalGameDriver();
 }
 public MakeMoveCommandHandler(IMediator mediator, IDocumentStore documentStore, IGameDriver gameDriver)
 {
     _mediator      = mediator ?? throw new ArgumentNullException(nameof(mediator));
     _documentStore = documentStore ?? throw new ArgumentNullException(nameof(documentStore));
     _gameDriver    = gameDriver ?? throw new ArgumentNullException(nameof(gameDriver));
 }
Пример #3
0
 public void SetUp()
 {
     gameDriver = new TraditionalGameDriver();
 }