### Question:
RadiologyModalityResource extends MetadataDelegatingCrudResource<RadiologyModality> { @Override public RadiologyModality getByUniqueId(String uniqueId) { return Context.getService(RadiologyModalityService.class) .getRadiologyModalityByUuid(uniqueId); }  @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 shouldReturnRadiologyModalityGivenItsUuid() throws Exception { assertThat(radiologyModalityResource.getByUniqueId(RADIOLOGY_MODALITY_UUID), is(radiologyModality)); verify(radiologyModalityService, times(1)).getRadiologyModalityByUuid(RADIOLOGY_MODALITY_UUID); verifyNoMoreInteractions(radiologyModalityService); }