ValueOptionsPage extends BaseDecisionTableColumnPage<T> { void isFactTypeAnEvent(final Callback<Boolean> callback) { if (canSetupCepOperators()) { presenter.getDataModelOracle().isFactTypeAnEvent(factType(), callback); } else { callback.callback(false); } } @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 testIsFactTypeAnEventWhenCepOperatorsIsNotEnabled() throws Exception { when(patternWrapper.getFactType()).thenReturn("factType"); page.isFactTypeAnEvent(Assert::assertFalse); }