ViewHideAlertsButtonPresenter { public void addCssClassToButtons(final String cssClass) { view.addCssClassToButtons(cssClass); } @Inject  ViewHideAlertsButtonPresenter(final PlaceManager placeManager,
                                         final View view); @PostConstruct void init(); void addCssClassToButtons(final String cssClass); void viewAlerts(); void hideAlerts(); View getView();  }
@Test public void addCssClassToButtonsTest() { presenter.addCssClassToButtons("my-class"); verify(view).addCssClassToButtons("my-class"); }