@Test
public void testCreateDestinations_multiple() throws JMSException {

    Destination[] destinations = jmsClient.createDestinations(2);
    assertEquals(2, destinations.length);
    // suffixes should be added
    assertDestinationNameType(DEFAULT_DEST + ".0", TOPIC_TYPE, asAmqDest(destinations[0]));
    assertDestinationNameType(DEFAULT_DEST + ".1", TOPIC_TYPE, asAmqDest(destinations[1]));
}