public function testCanCreateUpdatePasswordForm()
 {
     $updatePasswordForm = new UpdatePasswordForm('testform');
     $updatePasswordForm->prepare();
     $this->assertTrue($updatePasswordForm->get('password') instanceof Element);
     $this->assertTrue($updatePasswordForm->get('confirmpassword') instanceof Element);
     $this->assertTrue($updatePasswordForm->get('send') instanceof Element);
     Bootstrap::initDatabase();
 }
 /**
  * Prepares the environment before running a test.
  */
 protected function setUp()
 {
     parent::setUp();
     $this->AuthAdaptorMySQL = new AuthAdaptorMySQL();
     $this->serviceManager = Bootstrap::getServiceManager();
     $this->AuthAdaptorMySQL->setServiceLocator($this->serviceManager);
     $this->assertTrue($this->AuthAdaptorMySQL->getServiceLocator() == $this->serviceManager);
     Bootstrap::initDatabase();
 }