@Test public void testFactFieldWarningToggleWhenFactFieldIsValid() { final boolean isFactFieldValid = true; page.factFieldWarningToggle(isFactFieldValid); verify(view, never()).showSelectFieldWarning(); verify(view).hideSelectFieldWarning(); }
void factFieldWarningToggle(final boolean isFactFieldValid) { if (!isFactFieldValid) { view.showSelectFieldWarning(); } else { view.hideSelectFieldWarning(); } }
FieldPage extends BaseDecisionTableColumnPage<T> { void factFieldWarningToggle(final boolean isFactFieldValid) { if (!isFactFieldValid) { view.showSelectFieldWarning(); } else { view.hideSelectFieldWarning(); } } }
FieldPage extends BaseDecisionTableColumnPage<T> { void factFieldWarningToggle(final boolean isFactFieldValid) { if (!isFactFieldValid) { view.showSelectFieldWarning(); } else { view.hideSelectFieldWarning(); } } @Inject  FieldPage(final View view,
                     final TranslationService translationService); }
FieldPage extends BaseDecisionTableColumnPage<T> { void factFieldWarningToggle(final boolean isFactFieldValid) { if (!isFactFieldValid) { view.showSelectFieldWarning(); } else { view.hideSelectFieldWarning(); } } @Inject  FieldPage(final View view,
                     final TranslationService translationService); @Override String getTitle(); @Override void isComplete(final Callback<Boolean> callback); @Override void prepareView(); String getFactField(); }
FieldPage extends BaseDecisionTableColumnPage<T> { void factFieldWarningToggle(final boolean isFactFieldValid) { if (!isFactFieldValid) { view.showSelectFieldWarning(); } else { view.hideSelectFieldWarning(); } } @Inject  FieldPage(final View view,
                     final TranslationService translationService); @Override String getTitle(); @Override void isComplete(final Callback<Boolean> callback); @Override void prepareView(); String getFactField();  }