Ejemplo n.º 1
0
 public function testCreateKey()
 {
     $key = new KeyPair();
     $this->assertTrue($key instanceof KeyPair);
     $this->assertEquals(OPENSSL_KEYTYPE_RSA, $key->getType());
 }