public function testFetchesImageFromRequest()
{
$image = $this->getMock('Imbo\\Model\\Image');
$image->expects($this->once())->method('getBlob')->will($this->returnValue('image'));
$this->request->expects($this->once())->method('getImage')->will($this->returnValue($image));
$imagick = $this->getMock('Imagick');
$imagick->expects($this->once())->method('readImageBlob')->with('image');
$this->event->expects($this->once())->method('getName')->will($this->returnValue('images.post'));
$this->listener->setImagick($imagick)->readImageBlob($this->event);
}