public static function create($documentManager)
 {
     //Create data in the db to query against
     $documentManager->getConnection()->selectDatabase('identityModuleTest');
     $identity = new Identity();
     $identity->setIdentityName('toby');
     $identity->setFirstName('Toby');
     $identity->setLastName('Awesome');
     $identity->setCredential('password1');
     $identity->setEmail('*****@*****.**');
     $documentManager->persist($identity);
     $documentManager->flush();
     $documentManager->clear();
 }
 public function setCredential($plaintext)
 {
     $this->__load();
     return parent::setCredential($plaintext);
 }