コード例 #1
0
ファイル: DistillTest.php プロジェクト: hkulyk/distill
 public function testFormatNotSupportedAfterDisablingAllMethods()
 {
     $this->setExpectedException('Distill\\Exception\\IO\\Input\\FileFormatNotSupportedException');
     $target = $this->getTemporaryPath();
     $this->clearTemporaryPath();
     $this->distill->disableMethod(Cabextract::getName());
     $this->distill->disableMethod(Gcab::getName());
     $this->distill->disableMethod(X7zip::getName());
     $result = $this->distill->extract($this->filesPath . 'file_ok.cab', $target, new Format\Simple\Cab());
     $this->clearTemporaryPath();
 }