public void clear() {
    setRemoveEnabled( false );
    setModelDirty( false );
    setAcls( null );
    setSelectedAclList( null );
    setHasManageAclAccess( false );
  }
@Test
  public void testClear() {

    List<UIRepositoryObjectAcl> originalUIAcls =
        Arrays.asList( new UIRepositoryObjectAcl[] { objectAcl1, objectAcl2, objectAcl3 } );

    repositoryObjectAcls.addAcls( originalUIAcls );
    repositoryObjectAcls.setRemoveEnabled( true );
    assertTrue( repositoryObjectAcls.isRemoveEnabled() );

    // Call the method being tested
    repositoryObjectAcls.clear();

    assertTrue( repositoryObjectAcls.getSelectedAclList().isEmpty() );
    assertFalse( repositoryObjectAcls.isRemoveEnabled() );
    assertFalse( repositoryObjectAcls.isModelDirty() );
    assertTrue( repositoryObjectAcls.isEntriesInheriting() );
  }