@Test public void testSetupOk() { final Message message = new Message(); message.setSeverity( Severity.INFO ); presenter.setup( message ); verify( view ).setupOk(); }
public void setupOk() { view.setupOk(); }
NotificationPresenter { public void setupOk() { view.setupOk(); } }
NotificationPresenter { public void setupOk() { view.setupOk(); } @Inject  NotificationPresenter(final View view); }
NotificationPresenter { public void setupOk() { view.setupOk(); } @Inject  NotificationPresenter(final View view); View getView(); void setupOk(); void setup(final Message message); }
NotificationPresenter { public void setupOk() { view.setupOk(); } @Inject  NotificationPresenter(final View view); View getView(); void setupOk(); void setup(final Message message);  }