Beispiel #1
0
 /**
  * Tests OpenSSL::useAlgorithm
  *
  * @expectedException \phpbu\App\Exception
  */
 public function testUseInvalidAlgorithm()
 {
     $path = realpath(__DIR__ . '/../../../_files/bin');
     $openSSL = new OpenSSL($path);
     $openSSL->usePassword('foo')->useAlgorithm('invalid');
 }