OAuth1aService extends OAuthService { public String getAuthorizeUrl(TwitterAuthToken requestToken) { return getApi().buildUponBaseHostUrl(RESOURCE_OAUTH, "authorize") .appendQueryParameter(OAuthConstants.PARAM_TOKEN, requestToken.token) .build() .toString(); } OAuth1aService(TwitterCore twitterCore, TwitterApi api); void requestTempToken(final Callback<OAuthResponse> callback); String buildCallbackUrl(TwitterAuthConfig authConfig); void requestAccessToken(final Callback<OAuthResponse> callback,
            TwitterAuthToken requestToken, String verifier); String getAuthorizeUrl(TwitterAuthToken requestToken); static OAuthResponse parseAuthResponse(String response);  }
@Test public void testGetAuthorizeUrl() { final TwitterAuthToken authToken = new TwitterAuthToken("token", "secret"); final String authorizeUrl = service.getAuthorizeUrl(authToken); assertEquals("https: }