예제 #1
0
파일: KeyTest.php 프로젝트: pear/crypt_gpg
 /**
  * @group accessors
  */
 public function testCanSign_all()
 {
     $key = new Crypt_GPG_Key();
     $subKey = new Crypt_GPG_SubKey(array('canSign' => true));
     $key->addSubKey($subKey);
     $subKey = new Crypt_GPG_SubKey(array('canSign' => true));
     $key->addSubKey($subKey);
     $subKey = new Crypt_GPG_SubKey(array('canSign' => true));
     $key->addSubKey($subKey);
     $this->assertTrue($key->canSign());
 }