AppserverIo\Appserver\Naming\NamingDirectoryTest::testThreeLevelDescendingRecursiveSearch PHP Метод

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

Test the descending recursive search on a directory tree with a three level structure.
public testThreeLevelDescendingRecursiveSearch ( ) : void
Результат void
    public function testThreeLevelDescendingRecursiveSearch()
    {
        // create the three level tree
        $level1 = $this->namingDirectory->createSubdirectory('level1');
        $level2 = $level1->createSubdirectory('level2');
        $level2->createSubdirectory('level3');
        // bind a value and search recursive
        $this->namingDirectory->bind($name = 'php:level1/level2/level3/test', $value = 'testValue');
        $this->assertSame($this->namingDirectory->search($name), $value);
    }