@Test
public void testGetAssociatedResources() throws Exception {

  RequestStatusImpl status = new RequestStatusImpl(null);
  Assert.assertEquals(Collections.emptySet(), status.getAssociatedResources());
  Resource associatedResource = new ResourceImpl(Resource.Type.Service);
  Set<Resource> associatedResources = Collections.singleton(associatedResource);
  status = new RequestStatusImpl(null, associatedResources);
  Assert.assertEquals(associatedResources, status.getAssociatedResources());
}