lithium\tests\cases\console\command\LibraryTest::testNoFormulate PHP Метод

testNoFormulate() публичный Метод

public testNoFormulate ( )
    public function testNoFormulate()
    {
        $path = $this->_testPath . '/library_test_no_plugin';
        $result = $this->library->formulate($path);
        $this->assertFalse($result);
        $result = file_exists($path . '/config/library_test_no_plugin.json');
        $this->assertFalse($result);
        $expected = '/Formula for library_test_no_plugin not created/';
        $result = $this->library->response->error;
        $this->assertPattern($expected, $result);
    }