PatternToDeletePage extends BaseDecisionTableColumnPage<ActionRetractFactPlugin> { @Override public void prepareView() { view.init(this); markAsViewed(); setupPatternList(); } @Inject  PatternToDeletePage(final View view,
                               final TranslationService translationService); @Override String getTitle(); @Override void isComplete(final Callback<Boolean> callback); @Override void prepareView();  }
@Test public void testPrepareView() throws Exception { doReturn(new ArrayList<String>()).when(page).getLHSBoundFacts(); page.prepareView(); verify(view).init(page); verify(page).markAsViewed(); }