Beispiel #1
0
 function case_signature()
 {
     $this->given($filename = $this->helper->temporaryFile('.phar'), $phar = new CUT($filename), $phar['foo'] = 'bar')->when($result = $phar->getSignature())->then->string($result['hash_type'])->isEqualTo('SHA-1');
 }