@Test
public void setEnabled() {

    AbstractFormItem<String> formItem = formItem(false);
    formItem.setEnabled(false);
    verify(readOnlyAppearance).unapply(ENABLED);
    verify(editingAppearance).unapply(ENABLED);
    reset(readOnlyAppearance, editingAppearance);
    formItem.setEnabled(true);
    verify(readOnlyAppearance).apply(ENABLED, null);
    verify(editingAppearance).apply(ENABLED, null);
}