public function testCanParseGpsValues()
{
$listener = new ExifMetadata();
$image = new Image();
$image->setBlob(file_get_contents(FIXTURES_DIR . '/exif-logo.jpg'));
$request = $this->getMock('Imbo\\Http\\Request\\Request');
$request->expects($this->once())->method('getImage')->will($this->returnValue($image));
$event = $this->getMock('Imbo\\EventManager\\Event');
$event->expects($this->once())->method('getRequest')->will($this->returnValue($request));
$properties = $listener->populate($event);
$this->assertEquals(9.0841802, $properties['gps:location'][0], '', 0.05);
$this->assertEquals(63.680437300003, $properties['gps:location'][1], '', 0.05);
$this->assertEquals(50.8, $properties['gps:altitude'], '', 0.05);
}