/** * Test compressor with path to binary */ public function testGetCommand() { $gzip = Compressor::create('/usr/local/bin/gzip'); $this->assertEquals('gz', $gzip->getSuffix()); $this->assertEquals('gzip', $gzip->getCommand()); }
/** * Test compressor with path to binary */ public function testGetCommand() { $gzip = Compressor::create('/usr/local/bin/gzip'); $this->assertEquals('gz', $gzip->getSuffix()); $this->assertEquals('gzip', $gzip->getCommand()); }