FieldPage extends BaseDecisionTableColumnPage<T> { @Override public void prepareView() { view.init(this); setupPatternWarningMessages(); setupPredicateBindingInfoBox(); setupBinding(); setupField(); } @Inject  FieldPage(final View view,
                     final TranslationService translationService); @Override String getTitle(); @Override void isComplete(final Callback<Boolean> callback); @Override void prepareView(); String getFactField();  }
@Test public void testPrepareView() throws Exception { doReturn(pattern52).when(plugin).patternWrapper(); page.prepareView(); verify(view).init(page); verify(page).setupPatternWarningMessages(); verify(page).setupPredicateBindingInfoBox(); verify(page).setupBinding(); verify(page).setupField(); }