@Test
public void testCreateDestinations_commaSeparated() throws JMSException {

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