SecurityEntry entry = createSecurityEntry("test-group-security");
entry.grantGroupAccess("view", "users");
entry.grantGroupAccess("view", "hackers");
entry.grantGroupAccess("edit", "managers");
entry.grantGroupAccess("view", "managers");
assertTrue("group-assert: view/users", entry.allowsGroup("users", "view"));
assertTrue("group-assert: view/hackers", entry.allowsGroup("hackers", "view"));
assertTrue("group-assert: view/managers", entry.allowsGroup("managers", "view"));
assertTrue("group-assert: edit/managers", entry.allowsGroup("managers", "edit"));