public EnumSet<RepositoryFilePermission> getPermissionSet() {
    return ace.getPermissions();
  }
@Test
  public void testGetPermissionSet() {
    UIRepositoryObjectAcl uiAcl = new UIRepositoryObjectAcl( createObjectAce() );

    EnumSet<RepositoryFilePermission> permissions = uiAcl.getPermissionSet();

    assertNotNull( permissions );
    assertEquals( 1, permissions.size() );
    assertTrue( permissions.contains( RepositoryFilePermission.ALL ) );
  }