@Test public void testCancel() throws Exception { presenter.cancel(); verify(view).hide(); }
void cancel() { view.hide(); }
NewPatternPresenter { void cancel() { view.hide(); } }
NewPatternPresenter { void cancel() { view.hide(); } @Inject  NewPatternPresenter(final View view,
                               final TranslationService translationService); }
NewPatternPresenter { void cancel() { view.hide(); } @Inject  NewPatternPresenter(final View view,
                               final TranslationService translationService); @PostConstruct void setup(); void show(); void hide(); void init(final PatternPage patternPage); List<String> getFactTypes(); }
NewPatternPresenter { void cancel() { view.hide(); } @Inject  NewPatternPresenter(final View view,
                               final TranslationService translationService); @PostConstruct void setup(); void show(); void hide(); void init(final PatternPage patternPage); List<String> getFactTypes();  }