RuleModellerPage extends BaseDecisionTableColumnPage<T> { @Override public void isComplete(final Callback<Boolean> callback) { callback.callback(plugin().isRuleModellerPageCompleted()); } @Inject  RuleModellerPage(final View view,
                            final TranslationService translationService); @Override String getTitle(); @Override void isComplete(final Callback<Boolean> callback); @Override void prepareView();  }
@Test public void testIsCompleteWhenRuleModellerPageIsCompleted() throws Exception { when(brlActionPlugin.isRuleModellerPageCompleted()).thenReturn(true); brlActionPage.isComplete(Assert::assertTrue); }
@Test public void testIsCompleteWhenRuleModellerPageIsNotCompleted() throws Exception { when(brlActionPlugin.isRuleModellerPageCompleted()).thenReturn(false); brlActionPage.isComplete(Assert::assertFalse); }