@Test
public void testGetPermissionsWithTemporaryTopic() {

    ActiveMQTempTopic topic = new ActiveMQTempTopic("myTempTopic");
    DestinationAction action = new DestinationAction(new ConnectionContext(), topic, "remove");
    Collection<Permission> perms = resolver.getPermissions(action);
    assertPermString("temp-topic:myTempTopic:remove", perms);
}