@Test
public void testSerializeManagedAcl() throws Exception {

  AccessControlList acl = new AccessControlList();
  acl.getEntries().add(ACE_ROLE_ADMIN_ALLOW_ACTION_READ);
  ManagedAcl manAcl = new ManagedAclImpl(1L, MANAGED_ACL_1_NAME, ORGANISATION_1_ID, acl);
  JSONObject aclJson = AccessInformationUtil.serializeManagedAcl(manAcl);
  assertEquals(1L, aclJson.getLong("id"));
  assertEquals(MANAGED_ACL_1_NAME, aclJson.getString("name"));
}