/** * @expectedException \Magento\Framework\Exception\NoSuchEntityException */ public function testChangePasswordWrongUser() { $this->_customerAccountService->changePassword(4200, 'password', 'new_password'); }
/** * @expectedException \Magento\Framework\Exception\NoSuchEntityException */ public function testChangePasswordWrongUser() { $this->_customerAccountService->changePassword(4200, 'password', 'new_password'); }