### Question:
RadiologyModalityResource extends MetadataDelegatingCrudResource<RadiologyModality> { @Override public void delete(RadiologyModality delegate, String reason, RequestContext context) throws ResponseException { Context.getService(RadiologyModalityService.class) .retireRadiologyModality(delegate, reason); }  @Override String getResourceVersion(); @Override DelegatingResourceDescription getRepresentationDescription(Representation rep); @Override DelegatingResourceDescription getCreatableProperties(); @PropertyGetter("display") String getDisplayString(RadiologyModality delegate); @Override RadiologyModality getByUniqueId(String uniqueId); @Override RadiologyModality newDelegate(); @Override RadiologyModality save(RadiologyModality delegate); @Override void delete(RadiologyModality delegate, String reason, RequestContext context); @Override void purge(RadiologyModality delegate, RequestContext context);  }### Answer:
@Test public void shouldRetireGivenRadiologyModality() throws Exception { radiologyModalityResource.delete(radiologyModality, "out of order", requestContext); verify(radiologyModalityService, times(1)).retireRadiologyModality(radiologyModality, "out of order"); verifyNoMoreInteractions(radiologyModalityService); }