ValueOptionsPage extends BaseDecisionTableColumnPage<T> { @Override public void isComplete(final Callback<Boolean> callback) { callback.callback(plugin().isValueOptionsPageCompleted()); } @Inject  ValueOptionsPage(final View view,
                            final TranslationService translationService); @Override String getTitle(); @Override void isComplete(final Callback<Boolean> callback); @Override void prepareView(); void enableValueList(); void enableCepOperators(); void enableDefaultValue(); void enableLimitedValue(); String getValueList(); void setValueList(final String valueList); int constraintValue();  }
@Test public void testIsCompleteWhenValueOptionsPageIsNotCompleted() throws Exception { when(plugin.isValueOptionsPageCompleted()).thenReturn(false); page.isComplete(Assert::assertFalse); }
@Test public void testIsCompleteWhenValueOptionsPageIsCompleted() throws Exception { when(plugin.isValueOptionsPageCompleted()).thenReturn(true); page.isComplete(Assert::assertTrue); }