@Test public void shouldMakeARemoteCallWhenFetchNewCaptchaId() { authorityGetCaptchaGateway.newCaptchaId(new Callback()); String urlString = apiGateway.getLatestRequest().getUrlString(); assertThat(urlString, equalTo("http: }
public void newCaptchaId(Callback callback) { apiGateway.makeRequest(new AuthGetCaptchaRequest(), new AuthorityGetCaptchaCallback(callback, this, douban)); }
AuthorityGetCaptchaGateway extends BaseApiGateway { public void newCaptchaId(Callback callback) { apiGateway.makeRequest(new AuthGetCaptchaRequest(), new AuthorityGetCaptchaCallback(callback, this, douban)); } }
AuthorityGetCaptchaGateway extends BaseApiGateway { public void newCaptchaId(Callback callback) { apiGateway.makeRequest(new AuthGetCaptchaRequest(), new AuthorityGetCaptchaCallback(callback, this, douban)); } AuthorityGetCaptchaGateway(Douban douban, ApiGateway apiGateway); }
AuthorityGetCaptchaGateway extends BaseApiGateway { public void newCaptchaId(Callback callback) { apiGateway.makeRequest(new AuthGetCaptchaRequest(), new AuthorityGetCaptchaCallback(callback, this, douban)); } AuthorityGetCaptchaGateway(Douban douban, ApiGateway apiGateway); void newCaptchaId(Callback callback); }
AuthorityGetCaptchaGateway extends BaseApiGateway { public void newCaptchaId(Callback callback) { apiGateway.makeRequest(new AuthGetCaptchaRequest(), new AuthorityGetCaptchaCallback(callback, this, douban)); } AuthorityGetCaptchaGateway(Douban douban, ApiGateway apiGateway); void newCaptchaId(Callback callback); static final Gson GSON; }