Source

						public function testExtractWithFullPaths() {
		$this->skipIf(
			!file_exists("{$this->_testPath}/library_test.phar.gz"),
			'Depends on ' . __CLASS__  . '::testArchive()'
		);
		$this->library->library = 'library_test';

		$result = $this->library->extract(
			$this->_testPath . '/library_test.phar.gz', $this->_testPath . '/new'
		);
		$this->assertTrue($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');
	}