/**
  * @magentoDataFixture Magento/Customer/_files/customer.php
  */
 public function testSendPasswordResetLinkBadEmailDefaultWebsite()
 {
     $email = '*****@*****.**';
     try {
         $this->_customerAccountService->initiatePasswordReset($email, CustomerAccountServiceInterface::EMAIL_RESET);
         $this->fail('Expected exception not thrown.');
     } catch (NoSuchEntityException $nsee) {
         // App area is frontend, so we expect websiteId of 1.
         $this->assertEquals('No such entity with email = foo@example.com, websiteId = 1', $nsee->getMessage());
     }
 }