TweetRepository { void loadTweet(final long tweetId, final Callback<Tweet> cb) { final Tweet cachedTweet = tweetCache.get(tweetId); if (cachedTweet != null) { deliverTweet(cachedTweet, cb); return; } twitterCore.getApiClient().getStatusesService() .show(tweetId, null, null, null).enqueue(new SingleTweetCallback(cb)); } TweetRepository(Handler mainHandler, SessionManager<TwitterSession> userSessionManagers);   TweetRepository(Handler mainHandler, SessionManager<TwitterSession> userSessionManagers,
            TwitterCore twitterCore);   }
@Test public void testLoadTweetDelegation() { tweetRepository.loadTweet(anyId, mock(Callback.class)); verify(mockStatusesService).show(anyId, null, null, null); }