PatternToDeletePage extends BaseDecisionTableColumnPage<ActionRetractFactPlugin> { @Override public void isComplete(final Callback<Boolean> callback) { callback.callback(plugin().isPatternToDeletePageCompleted()); } @Inject  PatternToDeletePage(final View view,
                               final TranslationService translationService); @Override String getTitle(); @Override void isComplete(final Callback<Boolean> callback); @Override void prepareView();  }
@Test public void testIsComplete() throws Exception { doReturn(true).when(plugin).isPatternToDeletePageCompleted(); page.isComplete(Assert::assertTrue); verify(plugin).isPatternToDeletePageCompleted(); }