Neos\ContentRepository\Tests\Unit\FlowQueryOperations\ParentOperationTest::parentWillReturnEmptyResultForTheSiteNode PHP 메소드

parentWillReturnEmptyResultForTheSiteNode() 공개 메소드

    public function parentWillReturnEmptyResultForTheSiteNode()
    {
        $context = array($this->siteNode);
        $q = new FlowQuery($context);
        $operation = new ParentOperation();
        $operation->evaluate($q, array());
        $output = $q->getContext();
        $this->assertEquals(array(), $output);
    }