public function testUsesDefaultValuesWhenParametersAreNotSpecified(array $params, $brightness, $saturation, $hue)
{
$image = $this->getMock('Imbo\\Model\\Image');
$event = $this->getMock('Imbo\\EventManager\\Event');
$event->expects($this->at(0))->method('getArgument')->with('params')->will($this->returnValue($params));
$event->expects($this->at(1))->method('getArgument')->with('image')->will($this->returnValue($image));
$imagick = $this->getMock('Imagick');
$imagick->expects($this->once())->method('modulateImage')->with($brightness, $saturation, $hue);
$this->transformation->setImagick($imagick)->transform($event);
}