PatternPage extends BaseDecisionTableColumnPage<T> { void setEntryPoint() { plugin().setEntryPointName(view.getEntryPointName()); } @Inject  PatternPage(final View view,
                       final NewPatternPresenter newPatternPresenter,
                       final TranslationService translationService); @Override void initialise(); @Override String getTitle(); @Override void isComplete(final Callback<Boolean> callback); @Override void prepareView(); GuidedDecisionTableView.Presenter presenter(); void setEditingPattern(final PatternWrapper wrapper); void disableEntryPoint(); boolean isNegatedPatternEnabled(); void disableNegatedPatterns(); boolean isPatternCreationEnabled(); void disablePatternCreation();  }
@Test public void testSetEntryPoint() { final String entryPoint = "entryPoint"; when(view.getEntryPointName()).thenReturn(entryPoint); page.setEntryPoint(); verify(plugin).setEntryPointName(entryPoint); }