### Question:
FooterPresenter { Command makeOnSuccess(final String url) { return () -> view.setupUrl(url); } @Inject  FooterPresenter(final View view); View getView(); void setup(final String url,
                      final String version);  }### Answer:
@Test public void testMakeOnSuccess() { final String url = "http: doCallRealMethod().when(presenter).makeOnSuccess(url); presenter.makeOnSuccess(url).execute(); verify(view).setupUrl(url); }