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

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

public testFindNotFound ( )
    public function testFindNotFound()
    {
        $this->request->params += array('server' => null);
        $library = new Library(array('request' => $this->request, 'classes' => $this->classes));
        $library->conf = $this->testConf;
        $library->config('server', 'localhost');
        $library->find();
        $expected = "No plugins at localhost\n";
        $result = $library->response->output;
        $this->assertEqual($expected, $result);
    }