@Test
    void testListDifferentOrder() {

        WildcardPermission p6 = new WildcardPermission("one,two:three,four");
        WildcardPermission p6DiffOrder = new WildcardPermission("two,one:four,three");
        assertEquals(p6, p6DiffOrder);
    }
Validates WildcardPermissions with that contain the same list parts are equal.
core/src/test/java/org/apache/shiro/authz/permission/WildcardPermissionTest.java