示例#1
0
 public void SetUo()
 {
     _startGame = Substitute.For <StartGame.IStartGame>();
     _eventDispatcherService = Substitute.For <IEventDispatcherService>();
     _restartGameUseCase     = new RestartGameUseCase(_startGame, _eventDispatcherService);
 }
 public RestartGameUseCase(StartGame.IStartGame startGame, IEventDispatcherService eventDispatcherService)
 {
     _startGame = startGame;
     _eventDispatcherService = eventDispatcherService;
 }