@Test
public void testIsCompositeURINoQueryWithSlashes() throws URISyntaxException {

    URI[] compositeURIs = new URI[] { new URI("failover://(tcp://bla:61616,tcp://bla:61617)"),
            new URI("failover://(tcp://localhost:61616,ssl://anotherhost:61617)") };
    for (URI uri : compositeURIs) {
        assertTrue(uri + " must be detected as composite URI", URISupport.isCompositeURI(uri));
    }
}