示例#1
0
 /**
  * Tests if an symmetric cypher exists.
  *
  * @dataProvider symmetricCypherExistsProvider
  * @covers empire\framework\crypto\CryptoFactory::symmetricCypherExists
  *
  * @param string $name the name of the symmetric cypher
  * @param boolean $exists whether the cypher exists
  */
 public function testSymmetricCypherExists($name, $exists)
 {
     $this->assertSame($exists, $this->instance->symmetricCypherExists($name));
 }