/**
  * @return array
  */
 public function submitProvider()
 {
     $entity = new AccountUser();
     $expectedEntity = new AccountUser();
     $expectedEntity->setSalt($entity->getSalt());
     return ['reset password' => ['defaultData' => $entity, 'submittedData' => ['plainPassword' => 'new password'], 'expectedData' => $expectedEntity]];
 }
 /**
  * @return array
  */
 public function submitProvider()
 {
     $entity = new AccountUser();
     $owner = new User();
     $expectedEntity = new AccountUser();
     $expectedEntity->setFirstName('John')->setLastName('Doe')->setEmail('*****@*****.**')->setOwner($owner);
     $entity->setSalt($expectedEntity->getSalt());
     return ['new user' => ['defaultData' => $entity, 'submittedData' => ['firstName' => 'John', 'lastName' => 'Doe', 'email' => '*****@*****.**', 'plainPassword' => '123456'], 'expectedData' => $expectedEntity, 'owner' => $owner]];
 }