evaluate() public method

public evaluate ( FlowQuery $flowQuery, array $arguments ) : void
$flowQuery Neos\Eel\FlowQuery\FlowQuery the FlowQuery object
$arguments array A mandatory start and optional end index in the context, negative indices indicate an offset from the start or end respectively
return void
 /**
  * @test
  * @dataProvider sliceExamples
  */
 public function evaluateSetsTheCorrectPartOfTheContextArray($value, $arguments, $expected)
 {
     $flowQuery = new \Neos\Eel\FlowQuery\FlowQuery($value);
     $operation = new SliceOperation();
     $operation->evaluate($flowQuery, $arguments);
     $this->assertEquals($expected, $flowQuery->getContext());
 }