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

siblingsWillReturnFirstNodeForSecondAndThirdNodeInLevel() public method

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