use of org.apache.aries.application.deployment.management.impl.DeploymentManifestManagerImpl in project aries by apache.
the class DeploymentGeneratorTest method setup.
@Before
public void setup() throws Exception {
appMetadata = Skeleton.newMock(ApplicationMetadata.class);
Skeleton.getSkeleton(appMetadata).setReturnValue(new MethodCall(ApplicationMetadata.class, "getApplicationSymbolicName"), "aries.test");
Skeleton.getSkeleton(appMetadata).setReturnValue(new MethodCall(ApplicationMetadata.class, "getApplicationVersion"), new Version("1.0.0"));
Skeleton.getSkeleton(appMetadata).setReturnValue(new MethodCall(ApplicationMetadata.class, "getUseBundles"), Collections.EMPTY_LIST);
app = Skeleton.newMock(AriesApplication.class);
Skeleton.getSkeleton(app).setReturnValue(new MethodCall(AriesApplication.class, "getApplicationMetadata"), appMetadata);
deplMFMgr = new DeploymentManifestManagerImpl();
deplMFMgr.setResolver(_resolver);
deplMFMgr.setLocalPlatform(localPlatform);
deplMFMgr.setModellingManager(modellingManager);
deplMFMgr.setModellingHelper(modellingHelper);
deplMFMgr.setPreResolveHooks(new ArrayList<PreResolveHook>());
}
Aggregations