Neos\ContentRepository\Tests\Unit\FlowQueryOperations\SiblingsOperationTest::siblingsWillReturnEmptyResultForAllNodesInLevel PHP Method

siblingsWillReturnEmptyResultForAllNodesInLevel() public method

    public function siblingsWillReturnEmptyResultForAllNodesInLevel()
    {
        $context = array($this->firstNodeInLevel, $this->secondNodeInLevel, $this->thirdNodeInLevel);
        $q = new FlowQuery($context);
        $operation = new SiblingsOperation();
        $operation->evaluate($q, array());
        $output = $q->getContext();
        $this->assertEquals(array(), $output);
    }