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

negatedInstanceofFilterIsSupported() public method

    public function negatedInstanceofFilterIsSupported()
    {
        $q = new FlowQuery(array($this->node));
        $foundNodes = $q->children('[instanceof !Neos.ContentRepository.Testing:ContentCollection]')->get();
        $this->assertEquals(2, count($foundNodes));
        $foundNodes = $q->children('[instanceof !Neos.ContentRepository.Testing:Page]')->get();
        $this->assertEquals(3, count($foundNodes));
    }