lithium\tests\cases\console\command\LibraryTest::testNoInstalLab PHP Method

testNoInstalLab() public method

public testNoInstalLab ( )
    public function testNoInstalLab()
    {
        $this->skipIf(!extension_loaded('zlib'), 'The zlib extension is not loaded.');
        $this->skipIf(ini_get('phar.readonly') == '1', 'Skipped test {:class}::{:function}() - relies on {:class}::testPush()');
        $this->library->path = $this->_testPath;
        $result = $this->library->install('li3_lab');
        $expected = "li3_lab not installed.\n";
        $result = $this->library->response->output;
        $this->assertEqual($expected, $result);
        $result = is_dir($this->_testPath . '/li3_lab');
        $this->assertFalse($result);
        $this->_cleanUp();
    }