/**
  * @expectedException     \LaravelItalia\Exceptions\NotFoundException
  */
 public function testThrowsExceptionIfResetNotFound()
 {
     $this->passwordRepositoryMock->expects($this->once())->method('findByEmailAndToken')->willThrowException(new \LaravelItalia\Exceptions\NotFoundException());
     $this->userMock->expects($this->never())->method('setNewPassword');
     $this->userRepositoryMock->expects($this->never())->method('save');
     $this->passwordRepositoryMock->expects($this->never())->method('removeByEmail');
     $this->handler = new ResetPasswordCommandHandler($this->passwordRepositoryMock, $this->userRepositoryMock);
     $this->handler->handle(new ResetPasswordCommand($this->userMock, 'TEST_TOKEN', 'NEW_PASSWORD'));
 }
 private function saveTestPasswordReset()
 {
     $this->repository->add('*****@*****.**', 'test_token_yo');
 }