@Test
public void testUpdate() throws Exception {

  AriesApplication app = createApplication(TEST_EBA);
  DeploymentMetadata depMf = createUpdateDepMf();
  
  AriesApplicationContextManager ctxMgr = Skeleton.newMock(AriesApplicationContextManager.class);
  _appMgr.setApplicationContextManager(ctxMgr);
  _appMgr.update(app, depMf);
  
  assertTrue("Deployment.mf should have been updated", app.getDeploymentMetadata() == depMf);
}