### Question:
DestinationActionPermissionResolver implements ActionPermissionResolver { protected Permission createPermission(String permissionString) { return new ActiveMQWildcardPermission(permissionString, isPermissionStringCaseSensitive()); }  String getPermissionStringPrefix(); void setPermissionStringPrefix(String permissionStringPrefix); boolean isPermissionStringCaseSensitive(); void setPermissionStringCaseSensitive(boolean permissionStringCaseSensitive); @Override Collection<Permission> getPermissions(Action action);  }### Answer:
@Test public void testAlternateWildcardPermissionToStringWithMultipleActions() { Permission perm = resolver.createPermission("foo:bar:action1,action2"); assertTrue(perm instanceof WildcardPermission); assertEquals("foo:bar:action1,action2", perm.toString()); }