public function setUp()
{
$this->eventManager = $this->getMock('Imbo\\EventManager\\EventManager');
$this->request = $this->getMock('Imbo\\Http\\Request\\Request');
$this->image = $this->getMock('Imbo\\Model\\Image');
$this->response = $this->getMock('Imbo\\Http\\Response\\Response');
$this->response->expects($this->any())->method('getModel')->will($this->returnValue($this->image));
$this->event = $this->getMock('Imbo\\EventManager\\Event');
$this->event->expects($this->any())->method('getRequest')->will($this->returnValue($this->request));
$this->event->expects($this->any())->method('getResponse')->will($this->returnValue($this->response));
$this->event->expects($this->any())->method('getManager')->will($this->returnValue($this->eventManager));
$this->listener = new ImageTransformer();
}