示例#1
0
 /**
  * create UID for contact
  *
  * @return string
  */
 protected function createUid()
 {
     do {
         $uid = $this->getUid();
     } while (!empty($this->backend->getContact($uid . '.vcf')));
     return $uid;
 }
 public function testGetContactFail()
 {
     $this->assertEmpty($this->backend->getContact(0, 'uri'));
 }