perm = new PermissionsData();
perm.setUser(user);
perm.setWebsite(testWeblog);
perm.setPending(true);
perm.setPermissionMask(PermissionsData.AUTHOR);
mgr.savePermissions(perm);
// get pending permissions for a user
perms = mgr.getPendingPermissions(testUser);
assertEquals(0, perms.size());
perms = mgr.getPendingPermissions(user);