// The second time DeploymentGenerator calls the Resolver, it will provide just
// test.shared. The resolver will return test.shared _plus_ test.isolated.
_resolver.addResult(cmr);
Skeleton.getSkeleton(appMetadata).setReturnValue(
new MethodCall(ApplicationMetadata.class, "getApplicationContents"),
Arrays.asList(
mockContent("test.api" , "1.1.0"),
mockContent("test.consumer" , "1.0.0"),
mockContent("test.provider", "1.0.0")));
Skeleton.getSkeleton(appMetadata).setReturnValue(
new MethodCall(ApplicationMetadata.class, "getUseBundles"),
Arrays.asList(mockContent("test.api", "1.0.0")));
app = Skeleton.newMock(AriesApplication.class);
Skeleton.getSkeleton(app).setReturnValue(new MethodCall(AriesApplication.class, "getApplicationMetadata"), appMetadata);
DeployedBundles deployedBundles = deplMFMgr.generateDeployedBundles (appMetadata,
Arrays.asList(new ModelledResource[] {cmr.get(0), cmr.get(2), cmr.get(3)}),
new ArrayList<Content>());