/** * {@inheritdoc} */ protected function setUp() { $this->configMock = $this->getMock(ConfigProviderInterface::class); $this->transMock = $this->getMock(TranslatorInterface::class); $this->securityMock = $this->getMockBuilder(SecurityFacade::class)->disableOriginalConstructor()->getMock(); $this->actionRepoMock = $this->getMockBuilder(ActionRepository::class)->disableOriginalConstructor()->getMock(); $this->handler = new MassUpdateActionHandler($this->configMock, $this->transMock, $this->securityMock, $this->actionRepoMock); $this->loggerMock = $this->getMock('Psr\\Log\\LoggerInterface'); $this->handler->setLogger($this->loggerMock); }