public function testDoesNotModifyImageIfNoPoisAreFound()
{
$image = $this->getMock('Imbo\\Model\\Image');
$database = $this->getMock('Imbo\\Database\\DatabaseInterface');
$database->expects($this->once())->method('getMetadata')->will($this->returnValue([]));
$event = $this->getMock('Imbo\\EventManager\\Event');
$event->expects($this->at(0))->method('getArgument')->with('image')->will($this->returnValue($image));
$event->expects($this->any())->method('getDatabase')->will($this->returnValue($database));
$image->expects($this->never())->method('hasBeenTransformed');
$transformation = new DrawPois();
$transformation->transform($event);
}