Beispiel #1
0
 public function testSetCipher()
 {
     $mcrypt = new Mcrypt();
     $result = $this->blockCipher->setCipher($mcrypt);
     $this->assertEquals($result, $this->blockCipher);
     $this->assertEquals($mcrypt, $this->blockCipher->getCipher());
 }