protected function setUp() { parent::setUp(); $this->handler = new AccountUserRoleUpdateFrontendHandler($this->formFactory, $this->privilegeConfig); $this->setRequirementsForHandler($this->handler); $this->securityFacade = $this->getMockBuilder('Oro\\Bundle\\SecurityBundle\\SecurityFacade')->disableOriginalConstructor()->getMock(); $this->handler->setSecurityFacade($this->securityFacade); }
protected function setUp() { parent::setUp(); $this->handler = new AccountUserRoleUpdateHandler($this->formFactory, $this->privilegeConfig); $this->setRequirementsForHandler($this->handler); }