IDomain domain = user.getDomain("foobarz");
IApplication application = domain.getApplicationByName("springeap6");
assertThat(application.getEmbeddedCartridges()).onProperty("name").contains("switchyard-0");
// operation
IEmbeddedCartridge switchyard = application.getEmbeddedCartridge("switchyard-0");
// no properties in embedded block (within application)
assertThat(switchyard.getProperties().size()).isEqualTo(0);
switchyard.refresh();
// verification
mockDirector.verifyGetApplicationCartridges(1, "foobarz", "springeap6");
CartridgeResourceProperties properties = switchyard.getProperties();
// 1 property in embedded block in cartridges
assertThat(properties.size()).isEqualTo(1);
new ResourcePropertyAssert(properties.getAll().iterator().next())
.hasName("module_path")
.hasDescription("Module Path")