@Test
public void testGetPermissionsWithTemporaryQueue() {

    ActiveMQTempQueue queue = new ActiveMQTempQueue("myTempQueue");
    DestinationAction action = new DestinationAction(new ConnectionContext(), queue, "read");
    Collection<Permission> perms = resolver.getPermissions(action);
    assertPermString("temp-queue:myTempQueue:read", perms);
}