Neos\ContentRepository\Tests\Functional\Eel\FlowQueryOperations\ChildrenOperationTest::combinedFilterIsSupported PHP Method

combinedFilterIsSupported() public method

    public function combinedFilterIsSupported()
    {
        $q = new FlowQuery(array($this->node));
        $foundNodes = $q->children('products[instanceof Neos.ContentRepository.Testing:Page][title *= "Products"]')->get();
        $this->assertEquals(1, count($foundNodes));
        $foundNodes = $q->children('x[instanceof Neos.ContentRepository.Testing:Page][title *= "Products"]')->get();
        $this->assertEquals(0, count($foundNodes));
        $foundNodes = $q->children('products[instanceof Neos.ContentRepository.Testing:X][title *= "Products"]')->get();
        $this->assertEquals(0, count($foundNodes));
        $foundNodes = $q->children('x[instanceof Neos.ContentRepository.Testing:Page][title *= "X"]')->get();
        $this->assertEquals(0, count($foundNodes));
    }