362363364365366367368369370371372
} assertNotNull(th); assertTrue(th instanceof IllegalArgumentException); th = null; try { acl.removeGroup(" * "); } catch (Throwable t) { th = t; } assertNotNull(th); assertTrue(th instanceof IllegalArgumentException);
395396397398399400401402403404405
assertFalse(acl.getAclString().contains("tardis")); acl.removeUser("drwho"); assertTrue(acl.isAllAllowed()); assertUserAllowed(drwho, acl); acl.removeGroup("tardis"); assertTrue(acl.isAllAllowed()); assertUserAllowed(drwho2, acl); } /**