WorkItemPage extends BaseDecisionTableColumnPage<T> { @Override public void prepareView() { view.init(this); markAsViewed(); setupWorkItemsList(); } @Inject  WorkItemPage(final View view,
                        final TranslationService translationService); @Override String getTitle(); @Override void isComplete(final Callback<Boolean> callback); @Override void prepareView(); void enableParameters();  }
@Test public void testPrepareView() throws Exception { page.prepareView(); verify(view).init(page); verify(page).markAsViewed(); }