/** * Tests Compressor::compressFile * * @expectedException \phpbu\App\Exception */ public function testCompressNonExistingFile() { $path = realpath(__DIR__ . '/../../../_files/bin'); $gzip = new Compressor('gzip', $path); $gzip->compressFile(__FILE__ . '.fail'); }