/** * @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()); }