Extends
lithium\test\Unit
Tests the app extraction and replace functionality to ensure that all paths
are set correctly after the extraction. It re-uses the test extraction
generated in the last test (`LibraryTest::testExtract()`).
Source
public function testExtractAndReplace() {
$filepath = $this->_testPath . '/library_test/config/bootstrap/libraries.php';
$content = file_get_contents($filepath);
$lines = explode("\n", $content);
$expected = 'define(\'LITHIUM_LIBRARY_PATH\', \'' . realpath(LITHIUM_LIBRARY_PATH) . '\')';
$this->assertTrue(strpos($content, $expected));
}