コード例 #1
0
 /**
  * Tests if an asymmetric cypher exists.
  *
  * @dataProvider asymmetricCypherExistsProvider
  * @covers empire\framework\crypto\CryptoFactory::asymmetricCypherExists
  *
  * @param string $name the name of the asymmetric cypher
  * @param boolean $exists whether the cypher exists
  */
 public function testAsymmetricCypherExists($name, $exists)
 {
     $this->assertSame($exists, $this->instance->asymmetricCypherExists($name));
 }