}
@Test
public void testGetServiceEndpoints() {
NodeFactory factory = new NodeFactoryImpl();
Contribution contribution = new Contribution("c1", new File("target/test-classes").toURI().toString());
NodeImpl node = (NodeImpl)factory.createNode(new StringReader(composite), contribution);
node.start();
List<Endpoint> es = node.getServiceEndpoints();
Assert.assertEquals(1, es.size());
Assert.assertEquals("HelloWorld2", es.get(0).getComponent().getName());