Source

						public function testExtract() {
		$this->skipIf(!extension_loaded('zlib'), 'The zlib extension is not loaded.');
		$this->library->library = 'library_test';

		$result = $this->library->extract($this->_testPath . '/library_test');
		$this->assertTrue($result);

		$path = '/lithium/console/command/create/template/app.phar.gz';
		$expected = "library_test created in {$this->_testPath} from ";
		$expected .= realpath(LITHIUM_LIBRARY_PATH . $path) . "\n";
		$result = $this->library->response->output;
		$this->assertEqual($expected, $result);
	}