OAuthController implements OAuthWebViewClient.Listener { void startAuth() { Twitter.getLogger().d(TwitterCore.TAG, "Obtaining request token to start the sign in flow"); oAuth1aService.requestTempToken(newRequestTempTokenCallback()); } OAuthController(ProgressBar spinner, WebView webView, TwitterAuthConfig authConfig,
            OAuth1aService oAuth1aService, Listener listener); @Override void onPageFinished(WebView webView, String url); @Override void onSuccess(Bundle bundle); @Override void onError(WebViewException exception);  }
@Test public void testStartAuth() { controller.startAuth(); verify(mockOAuth1aService).requestTempToken(any(Callback.class)); }