@Test public void testSetup() { final String url = "url"; final String version = "1.0.1"; presenter.setup(url, version); verify(presenter).setupVersion(version); verify(presenter).setupUrl(url); }
public void setup(final String url, final String version) { setupVersion(version); setupUrl(url); }
FooterPresenter { public void setup(final String url, final String version) { setupVersion(version); setupUrl(url); } }
FooterPresenter { public void setup(final String url, final String version) { setupVersion(version); setupUrl(url); } @Inject  FooterPresenter(final View view); }
FooterPresenter { public void setup(final String url, final String version) { setupVersion(version); setupUrl(url); } @Inject  FooterPresenter(final View view); View getView(); void setup(final String url,
                      final String version); }
FooterPresenter { public void setup(final String url, final String version) { setupVersion(version); setupUrl(url); } @Inject  FooterPresenter(final View view); View getView(); void setup(final String url,
                      final String version);  }