Set operations = po.getOperations();
assertNotNull(operations);
assertEquals(4, operations.size());
// testing permissions
IOperationMetaInfo op = findOperationWithName(operations, "create"); //$NON-NLS-1$
assertNotNull(op);
Set perm = op.getPermissionDescriptions();
assertNotNull(perm);
assertEquals(perm.size(), 0);
op = findOperationWithName(operations, "update"); //$NON-NLS-1$
assertNotNull(op);
perm = op.getPermissionDescriptions();
assertNotNull(perm);
assertEquals(perm.size(), 1);
assertEquals(((ElementDescription) perm.iterator().next()).getId(), "_KBjlgMm3Edu14qXh2kkVDA"); //$NON-NLS-1$
op = findOperationWithName(operations, "delete"); //$NON-NLS-1$
assertNotNull(op);
perm = op.getPermissionDescriptions();
assertNotNull(perm);
assertEquals(perm.size(), 1);
assertEquals(((ElementDescription) perm.iterator().next()).getId(), "_KBjlgMm3Edu14qXh2kkVDA"); //$NON-NLS-1$
op = findOperationWithName(operations, "read"); //$NON-NLS-1$
assertNotNull(op);
perm = op.getPermissionDescriptions();
assertNotNull(perm);
assertEquals(perm.size(), 1);
assertEquals(((ElementDescription) perm.iterator().next()).getId(), "_KBjlgMm3Edu14qXh2kkVDA"); //$NON-NLS-1$
Set descr = po.getPermissionDescriptions();