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

siblingsWillReturnFirstAndThirdNodeInLevelForSecondNodeInLevel() public method

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