FieldPageView implements IsElement,
                                      FieldPage.View { @Override public void enablePredicateFieldView() { toggleViewElements(true); } @Inject  FieldPageView(final ListBox fieldList,
                         final TextBox fieldTextBox,
                         final HTMLDivElement fieldWarning,
                         final HTMLDivElement patternWarning,
                         final HTMLDivElement fieldListDescription,
                         final HTMLDivElement predicateFieldDescription,
                         final HTMLDivElement bindingContainer,
                         final HTMLDivElement bindingFieldContainer,
                         final HTMLDivElement fieldBindingWarning,
                         final HTMLDivElement predicateBindingInfo,
                         final TranslationService translationService,
                         final Elemental2DomUtil elemental2DomUtil,
                         final DecisionTablePopoverUtils popoverUtils); @PostConstruct void initPopovers(); @Override void init(final FieldPage page); @EventHandler("fieldList") void onFieldListSelected(final ChangeEvent event); @EventHandler("fieldTextBox") void onFieldTextBoxChange(final KeyUpEvent event); @Override void patternWarningToggle(final boolean isVisible); @Override void setupEmptyFieldList(); @Override void selectField(final String factField); @Override void setField(final String factField); @Override void addItem(final String itemName,
                        final String itemKey); @Override void showSelectFieldWarning(); @Override void hideSelectFieldWarning(); @Override void enableListFieldView(); @Override void enablePredicateFieldView(); @Override void setupBinding(final IsWidget widget); @Override void showFieldBindingWarning(); @Override void hideFieldBindingWarning(); @Override void showPredicateBindingInfo(); @Override void hidePredicateBindingInfo(); @Override void bindingToggle(final boolean isVisible);  }
@Test public void testEnableTextField() { view.enablePredicateFieldView(); verify(fieldList).setVisible(false); verify(fieldTextBox).setVisible(true); assertTrue(fieldListDescription.hidden); assertFalse(predicateFieldDescription.hidden); }