NewPatternPresenter { public void show() { view.clear(); if (!patternPage.isNegatedPatternEnabled()) { view.disableNegatedPattern(); } view.show(); } @Inject  NewPatternPresenter(final View view,
                               final TranslationService translationService); @PostConstruct void setup(); void show(); void hide(); void init(final PatternPage patternPage); List<String> getFactTypes();  }
@Test public void testShow() { presenter.show(); verify(view).clear(); verify(view).show(); }