### Question:
SayHelloPresenter implements SayHelloContract.Presenter { @Override public void loadMessage() { if (person.getFirstName() == null && person.getLastName() == null) { view.showError("No person name found."); return; } String message = "Hi " + person.getName() + "!"; view.showMessage(message); } SayHelloPresenter(SayHelloContract.View view); @Override void loadMessage(); @Override void saveName(String firstName, String lastName);  }### Answer:
@Test public void loadMessage() { sayHelloPresenter = new SayHelloPresenter(sayHelloView); sayHelloPresenter.loadMessage(); verify(sayHelloView).showError( "No person name found."); }