public function testPromoteToAdmin()
 {
     $config = Config::getInstance();
     $config_array = $config->getValuesArray();
     $dao = new OwnerMySQLDAO($config_array);
     $this->assertFalse($dao->doesAdminExist());
     $result = $dao->promoteToAdmin('*****@*****.**');
     $this->assertEqual($result, 1);
     //one row updated
     $this->assertTrue($dao->doesAdminExist());
 }