evaluate() public method

public evaluate ( FlowQuery $flowQuery, array $arguments ) : void
$flowQuery Neos\Eel\FlowQuery\FlowQuery
$arguments array
return void
 /**
  * @test
  */
 public function filterWithNodeInstanceIsSupported()
 {
     $node1 = $this->createMock(NodeInterface::class);
     $node2 = $this->createMock(NodeInterface::class);
     $context = array($node1, $node2);
     $q = new FlowQuery($context);
     $operation = new FilterOperation();
     $operation->evaluate($q, array($node2));
     $this->assertEquals(array($node2), $q->getContext());
 }