@Test
public void testCreateDestinations_composite() throws JMSException {

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