protected function setUp() { parent::setUp(); $finder = new PlayerFinder($this->playerRepository()); $this->handler = new PlayerFindQueryHandler($finder); }
protected function setUp() { parent::setUp(); $registrar = new PlayerRegistrar($this->playerRepository(), $this->eventBus()); $this->handler = new PlayerRegistrationCommandHandler($registrar); }