services.add(service);
when(app.getServices()).thenReturn(services);
// References
List<Reference> references = new ArrayList<Reference>();
Reference ref = mock(Reference.class);
when(ref.getName()).thenReturn(TEST_COMPOSITE_REFERENCE);
references.add(ref);
when(app.getReferences()).thenReturn(references);
// Bindings
Binding bind = mock(Binding.class);