OAuth1aHeaders { public String getAuthorizationHeader(TwitterAuthConfig authConfig, TwitterAuthToken authToken, String callback, String method, String url, Map<String, String> postParams) { final OAuth1aParameters oAuth1aParameters = getOAuth1aParameters(authConfig, authToken, callback, method, url, postParams); return oAuth1aParameters.getAuthorizationHeader(); }  String getAuthorizationHeader(TwitterAuthConfig authConfig,
            TwitterAuthToken authToken, String callback, String method, String url,
            Map<String, String> postParams); Map<String, String> getOAuthEchoHeaders(TwitterAuthConfig authConfig,
            TwitterAuthToken authToken, String callback, String method, String url,
            Map<String, String> postParams); static final String HEADER_AUTH_SERVICE_PROVIDER; static final String HEADER_AUTH_CREDENTIALS; }
@Test public void testGetAuthorizationHeader() throws Exception { final TwitterAuthConfig config = mock(TwitterAuthConfig.class); final TwitterAuthToken token = mock(TwitterAuthToken.class); assertEquals(ANY_AUTH_CREDENTIALS, oAuthHeaders.getAuthorizationHeader(config, token, null, "GET", VERIFY_CREDENTIALS_URL, null)); }