If an optional filter expression is provided, it only returns the node if it matches the given expression.
Inheritance: extends Neos\Eel\FlowQuery\Operations\AbstractOperation
 /**
  * @test
  */
 public function prevWillReturnFirstNodeAndSecondNodeInLevelForSecondAndThirdNodeInLevel()
 {
     $context = array($this->secondNodeInLevel, $this->thirdNodeInLevel);
     $q = new FlowQuery($context);
     $operation = new PrevOperation();
     $operation->evaluate($q, array());
     $output = $q->getContext();
     $this->assertEquals(array($this->firstNodeInLevel, $this->secondNodeInLevel), $output);
 }