    @Test
    public void testFailure_logsFailure() {

        final Callback<Tweet> developerCallback = mock(Callback.class);
        final Logger logger = mock(Logger.class);
        final LoggingCallback<Tweet> cb = new TestLoggingCallback<>(developerCallback, logger);
        cb.failure(new TwitterException(TEST_MESSAGE));
        verify(logger).e(any(String.class), any(String.class), any(Throwable.class));
    }