@Test
public void testUpdateRegion() {
final ManageableRegion target = new ManageableRegion();
target.setFullName("Bananaville");
final RegionDocument request = new RegionDocument(target);
request.setUniqueId(OID.atLatestVersion());
final RegionDocument result = new RegionDocument(target);
result.setUniqueId(OID.atVersion("1"));
when(_underlying.update(same(request))).thenReturn(result);
Response test = _resource.update(_uriInfo, request);
assertEquals(Status.CREATED.getStatusCode(), test.getStatus());
assertSame(result, test.getEntity());