// Components
List<ComponentService> compSvcs = new ArrayList<ComponentService>();
List<ComponentReference> compRefs = new ArrayList<ComponentReference>();
ComponentService compSvc = mock(ComponentService.class);
ComponentReference compRef = mock(ComponentReference.class);
when(compSvc.getName()).thenReturn(TEST_COMPONENT_SERVICE);
when(compRef.getName()).thenReturn(TEST_COMPONENT_REFERENCE);
compSvcs.add(compSvc);
compRefs.add(compRef);
when(app.getComponentServices()).thenReturn(compSvcs);
when(compSvc.getReferences()).thenReturn(compRefs);