{
final Long id = createPhoto();
final LatLong l1 = new LatLong().setLongitude(-27.0f);
final EXIF e1 = new EXIF().setLocation(l1);
final Photo p1 = new Photo().setExif(e1);
final UpdateResponse uResp = _res.update(id, p1);
Assert.assertEquals(uResp.getStatus(), HttpStatus.S_204_NO_CONTENT);
// validate data is changed to correct value
final Photo p2 = _res.get(id);
Assert.assertNotNull(p2.hasExif());
final EXIF e2 = p2.getExif();
Assert.assertNotNull(e2.hasLocation());
final LatLong l2 = e2.getLocation();
Assert.assertEquals(l2.getLongitude(), -27.0f);
}