PatternToDeletePage extends BaseDecisionTableColumnPage<ActionRetractFactPlugin> { void markAsViewed() { plugin().setPatternToDeletePageAsCompleted(); } @Inject  PatternToDeletePage(final View view,
                               final TranslationService translationService); @Override String getTitle(); @Override void isComplete(final Callback<Boolean> callback); @Override void prepareView();  }
@Test public void testMarkAsViewed() throws Exception { page.markAsViewed(); verify(plugin).setPatternToDeletePageAsCompleted(); }