/**
* @covers Imbo\EventListener\DatabaseOperations::loadImage
*/
public function testCanLoadImage()
{
$this->response->expects($this->any())->method('getModel')->will($this->returnValue($this->image));
$this->database->expects($this->once())->method('load')->with($this->user, $this->imageIdentifier, $this->image);
$this->listener->loadImage($this->event);
}