TwitterAuthClient { public void cancelAuthorize() { authState.endAuthorize(); } TwitterAuthClient();   TwitterAuthClient(TwitterCore twitterCore, TwitterAuthConfig authConfig,
                      SessionManager<TwitterSession> sessionManager, AuthState authState); int getRequestCode(); void authorize(Activity activity, Callback<TwitterSession> callback); void cancelAuthorize(); void onActivityResult(int requestCode, int resultCode, Intent data); void requestEmail(TwitterSession session, final Callback<String> callback);  }
@Test public void testAuthorize_cancelAuthorize() { authClient.cancelAuthorize(); verify(mockAuthState).endAuthorize(); }