CompositeBundle cb = cbf.installCompositeBundle(frameworkConfig, "test-composite", compositeManifest);
BundleContext compositeBundleContext = cb.getCompositeFramework().getBundleContext();
// install the blueprint sample onto the framework associated with the composite bundle
MavenArtifactProvisionOption mapo = mavenBundleInTest(getClass().getClassLoader(), "org.apache.aries.blueprint", "org.apache.aries.blueprint.sample");
// let's use input stream to avoid invoking mvn url handler which isn't avail in the child framework.
InputStream is = new URL(mapo.getURL()).openStream();
Bundle bundle = compositeBundleContext.installBundle(mapo.getURL(), is);
assertNotNull(bundle);
// start the composite bundle then the blueprint sample
cb.start();
bundle.start();