lithium\tests\cases\core\LibrariesTest::testLocateCommandInLithiumRecursiveTrue PHP Method

testLocateCommandInLithiumRecursiveTrue() public method

    public function testLocateCommandInLithiumRecursiveTrue()
    {
        $expected = array('lithium\\console\\command\\Create', 'lithium\\console\\command\\G11n', 'lithium\\console\\command\\Help', 'lithium\\console\\command\\Route', 'lithium\\console\\command\\Test', 'lithium\\console\\command\\g11n\\Extract', 'lithium\\console\\command\\create\\Controller', 'lithium\\console\\command\\create\\Mock', 'lithium\\console\\command\\create\\Model', 'lithium\\console\\command\\create\\Test', 'lithium\\console\\command\\create\\View');
        $result = Libraries::locate('command', null, array('library' => 'lithium', 'recursive' => true));
        $this->assertEqual($expected, $result);
    }