TweetRepository { void unretweet(final long tweetId, final Callback<Tweet> cb) { getUserSession(new LoggingCallback<TwitterSession>(cb, Twitter.getLogger()) { @Override public void success(Result<TwitterSession> result) { twitterCore.getApiClient(result.data).getStatusesService().unretweet(tweetId, false) .enqueue(cb); } }); } TweetRepository(Handler mainHandler, SessionManager<TwitterSession> userSessionManagers);   TweetRepository(Handler mainHandler, SessionManager<TwitterSession> userSessionManagers,
            TwitterCore twitterCore);   }
@Test public void testUnretweetDelegation() { tweetRepository.unretweet(anyId, mock(Callback.class)); verify(mockStatusesService).unretweet(anyId, false); }