@Test
public void testGetPermissionsWithTopic() {

    ActiveMQTopic topic = new ActiveMQTopic("myTopic");
    DestinationAction action = new DestinationAction(new ConnectionContext(), topic, "create");
    Collection<Permission> perms = resolver.getPermissions(action);
    assertPermString("topic:myTopic:create", perms);
}