@Test
public void testParsingCompositeURI() throws URISyntaxException {

    CompositeData data = URISupport.parseComposite(new URI("broker://(tcp://localhost:61616)?name=foo"));
    assertEquals("one component", 1, data.getComponents().length);
    assertEquals("Size: " + data.getParameters(), 1, data.getParameters().size());
}