Assert.assertEquals("helloworld.composite", dcs.get(0));
}
@Test
public void testRemoveComposte() throws NoSuchServiceException, NoSuchDomainException, ContributionReadException, MalformedURLException, ActivationException, ValidationException {
Node node = TuscanyRuntime.newInstance().createNode("default");
node.installContribution("foo", "src/test/resources/sample-helloworld.jar", null, null);
List<String> dcs = node.startDeployables("foo");
Assert.assertEquals(1, dcs.size());
Map<String, List<String>> dcsx = node.getStartedCompositeURIs();
Assert.assertEquals(1, dcsx.size());
node.stopComposite("foo", "helloworld.composite");
dcsx = node.getStartedCompositeURIs();
Assert.assertEquals(0, dcsx.size());
}