Neos\ContentRepository\Tests\Functional\Eel\FlowQueryOperations\FindOperationTest::findByNodeWithInstanceofFilterReturnsMatchingNodesRecursively PHP Метод

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

    public function findByNodeWithInstanceofFilterReturnsMatchingNodesRecursively()
    {
        $q = new FlowQuery(array($this->node));
        $foundNodes = $q->find('[instanceof Neos.ContentRepository.Testing:Text]')->get();
        $this->assertGreaterThan(0, count($foundNodes));
        foreach ($foundNodes as $foundNode) {
            $this->assertSame($foundNode->getNodeType()->getName(), 'Neos.ContentRepository.Testing:Text');
        }
    }