@Test
public void testCreateDestinations_compositeCommaSeparated() throws JMSException {

    clientProperties.setDestComposite(true);
    clientProperties.setDestName("queue://foo,topic://cheese");
    Destination[] destinations = jmsClient.createDestinations(2);
    assertEquals(2, destinations.length);
    assertDestinationNameType("foo.0,foo.1", QUEUE_TYPE, asAmqDest(destinations[0]));
    assertDestinationNameType("cheese.0,cheese.1", TOPIC_TYPE, asAmqDest(destinations[1]));
}