public function testDoesNotAdjustTransformationsAfterGivenTransformationIndex()
{
$transformations = [['name' => 'desaturate', 'params' => []], ['name' => 'border', 'params' => ['width' => 5, 'height' => 5]]];
$this->event->method('getArgument')->will($this->returnValueMap([['transformationIndex', 0], ['ratio', 0.25]]));
$this->request->expects($this->once())->method('getTransformations')->will($this->returnValue($transformations));
$this->request->expects($this->once())->method('setTransformations')->with($this->equalTo($transformations));
$this->listener->adjustImageTransformations($this->event);
}