@Test
@Ignore
public void testCreatePermissionSet_shouldPersistSetAndPreserveOrder() throws Exception {
String set = "SetA";
Permission p1 = new TestPermission(Access.GRANTED);
Permission p2 = new TestPermission(Access.DENIED);
Permission p3 = new TestPermission(Access.ABSTAINED);
Permission p4 = new TestPermission(Access.GRANTED);
Permission[] permissions = new Permission[] { p1, p2, p3, p4 };
userManager.createPermissionSet(set, permissions);
List<Permission> result = new LinkedList<Permission>(userManager.getPermissionsFromPermissionSet(set));
assertThat(result.get(0), is(p1));
assertThat(result.get(1), is(p2));