protected function setUp() { parent::setUp(); $eventDispatcher = $this->getMock('Symfony\\Component\\EventDispatcher\\EventDispatcherInterface'); $this->target = new RemoveCollaborator($this->contextAccessor, $this->manager); $this->target->setDispatcher($eventDispatcher); }
protected function setUp() { parent::setUp(); $this->target = new AddCollaborator($this->contextAccessor, $this->manager); }