public void setAllDisabled( boolean value ) {
    for ( PermissionsCheckboxes permissionsCheckboxes : ALL_PERMISSIONS ) {
      permissionsCheckboxes.permissionCheckbox.setDisabled( value );
    }
  }
@Test
  public void testSetAllEnabledEnablesAll() {
    boolean disabled = false;
    permissionsCheckboxHandler.setAllDisabled( disabled );
    verify( readCheckbox, times( 1 ) ).setDisabled( disabled );
    verify( writeCheckbox, times( 1 ) ).setDisabled( disabled );
    verify( deleteCheckbox, times( 1 ) ).setDisabled( disabled );
    verify( manageCheckbox, times( 1 ) ).setDisabled( disabled );
  }