@Test
public void testGetPermissionsWithQueue() {

    ActiveMQQueue queue = new ActiveMQQueue("myQueue");
    DestinationAction action = new DestinationAction(new ConnectionContext(), queue, "write");
    Collection<Permission> perms = resolver.getPermissions(action);
    assertPermString("queue:myQueue:write", perms);
}