public function testExtractWithFullPaths()
{
$this->skipIf(!file_exists("{$this->_testPath}/library_test.phar.gz"), 'Skipped test {:class}::{:function}() - depends on {:class}::testArchive()');
$this->library->library = 'library_test';
$expected = true;
$result = $this->library->extract($this->_testPath . '/library_test.phar.gz', $this->_testPath . '/new');
$this->assertEqual($expected, $result);
$this->assertTrue(file_exists($this->_testPath . '/new'));
$expected = "new created in {$this->_testPath} from ";
$expected .= "{$this->_testPath}/library_test.phar.gz\n";
$result = $this->library->response->output;
$this->assertEqual($expected, $result);
$result = file_exists($this->_testPath . '/new/.htaccess');
$this->assertTrue($result);
$result = file_exists($this->_testPath . '/new/.DS_Store');
$this->assertFalse($result);
Phar::unlinkArchive($this->_testPath . '/library_test.phar.gz');
}