TwitterController { public void initialize(String consumerKey, String consumerSecret) { twitter.setConsumerKey(consumerKey).setConsumerSecret(consumerSecret); } TwitterController();   TwitterController(Twitter twitter); void initialize(String consumerKey, String consumerSecret); Twitter getTwitter(); Task<Map<String, String>> authenticateAsync(Context context); Map<String, String> getAuthData(
            String userId,
            String screenName,
            String authToken,
            String authTokenSecret); void setAuthData(Map<String, String> authData);  }
@Test public void testInitialize() { TwitterController controller = new TwitterController(twitter); controller.initialize("test_key", "test_secret"); verify(twitter).setConsumerKey("test_key"); verify(twitter).setConsumerSecret("test_secret"); }