/** * @return void */ public function testConstructorException() { $securityChecker = $this->getMock('\\Magento\\Framework\\Message\\ManagerInterface', [], [], '', false); $this->setExpectedException('\\Magento\\Framework\\Exception\\LocalizedException', __('Incorrect Security Checker class. It has to implement SecurityCheckerInterface')); $this->model->__construct($this->securityConfigMock, $this->passwordResetRequestEventFactoryMock, $this->passwordResetRequestEventCollectionFactoryMock, [$securityChecker]); }