ErrorBox { public void show(final String message) { view.show(message); } @Inject  ErrorBox(final View view); void show(final String message);  }
@Test public void testShow() throws Exception { final String message = "message"; presenter.show(message); verify(view, times(1)).show(message); }