### Question:
RadiologyOrderResource extends DataDelegatingCrudResource<RadiologyOrder> { @Override public void purge(RadiologyOrder delegate, RequestContext context) throws ResourceDoesNotSupportOperationException { throw new ResourceDoesNotSupportOperationException(); }  @Override DelegatingResourceDescription getRepresentationDescription(Representation rep); @Override String getResourceVersion(); @Override RadiologyOrder getByUniqueId(String uniqueId); @PropertyGetter("display") String getDisplayString(RadiologyOrder radiologyOrder); @Override RadiologyOrder newDelegate(); @Override RadiologyOrder save(RadiologyOrder delegate); @Override void purge(RadiologyOrder delegate, RequestContext context);  }### Answer:
@Test(expected = ResourceDoesNotSupportOperationException.class) public void shouldFailToPurgeOrder() throws Exception { RequestContext requestContext = new RequestContext(); radiologyOrderResource.purge(radiologyOrder, requestContext); }