@Test(expected = IllegalArgumentException.class)
public void testCreatePermissionStringWithCompositeDestination() {

    ActiveMQTopic topicA = new ActiveMQTopic("A");
    ActiveMQTopic topicB = new ActiveMQTopic("B");
    ActiveMQDestination composite = new AnyDestination(new ActiveMQDestination[]{topicA, topicB});
    resolver.createPermissionString(composite, "read");
}