.mockGetApplications("foobarz",
Samples.GET_DOMAINS_FOOBARZ_APPLICATIONS_SPRINGEAP_SCALABLE_DOWNLOADABLECART)
.mockGetApplication("foobarz", "downloadablecart",
GET_DOMAINS_FOOBARZ_APPLICATIONS_DOWNLOADABLECART);
IDomain domain = mockDirector.getDomain("foobarz");
IApplication downloadablecartApp = domain.getApplicationByName("downloadablecart");
assertThat(downloadablecartApp).isNotNull();
IEmbeddableCartridge foreman = new EmbeddableCartridge(new URL(FOREMAN_URL));
new CartridgeAssert<IEmbeddableCartridge>(foreman)
.hasUrl(CartridgeTestUtils.FOREMAN_URL)