null, category1Name));
MockRoleBasedPermissionStore store = new MockRoleBasedPermissionStore(pbps);
Contexts.getSessionContext().set("org.drools.guvnor.server.security.RoleBasedPermissionStore", store);
// Put permission list in session.
RoleBasedPermissionManager testManager = new RoleBasedPermissionManager();
testManager.create();
Contexts.getSessionContext().set("roleBasedPermissionManager", testManager);
TableDataResult res = impl.loadRuleListForCategories(
"testloadRuleListForCategoriesPackageReadonlyPositiveCat1", 0, -1,
AssetItemGrid.RULE_LIST_TABLE_ID);