### Question:
FooterPresenter { Command makeOnError() { return view::hideUrlElements; } @Inject  FooterPresenter(final View view); View getView(); void setup(final String url,
                      final String version);  }### Answer:
@Test public void testMakeOnError() { doCallRealMethod().when(presenter).makeOnError(); presenter.makeOnError().execute(); verify(view).hideUrlElements(); }