/**
  * @test
  */
 public function higherPriorityOverridesLowerPriority()
 {
     $this->assertInstanceOf(\TYPO3\Eel\Tests\Functional\FlowQuery\Fixtures\ExampleFinalOperationWithHigherPriority::class, $this->operationResolver->resolveOperation('exampleFinalOperation', array()));
 }
 /**
  * Evaluate operations
  *
  * @return mixed the last operation result if the operation is a final operation, NULL otherwise
  */
 protected function evaluateOperations()
 {
     while ($op = array_shift($this->operations)) {
         $operation = $this->operationResolver->resolveOperation($op['name'], $this->context);
         $lastOperationResult = $operation->evaluate($this, $op['arguments']);
     }
     return $lastOperationResult;
 }