@Test
public void testAlternateWildcardPermissionToStringWithMultipleActions() {

    Permission perm = resolver.createPermission("foo:bar:action1,action2");
    assertTrue(perm instanceof WildcardPermission);
    assertEquals("foo:bar:action1,action2", perm.toString());
}