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

multiplePropertyNameFiltersIsSupported() public method

    public function multiplePropertyNameFiltersIsSupported()
    {
        $q = new FlowQuery(array($this->node));
        $foundNodes = $q->children('teaser, sidebar')->get();
        $this->assertEquals(2, count($foundNodes));
        $foundNodes = $q->children('teaser, x')->get();
        $this->assertEquals(1, count($foundNodes));
        $foundNodes = $q->children('x, sidebar')->get();
        $this->assertEquals(1, count($foundNodes));
        $foundNodes = $q->children('x, y')->get();
        $this->assertEquals(0, count($foundNodes));
    }