TwitterListTimeline extends BaseTimeline implements Timeline<Tweet> { Call<List<Tweet>> createListTimelineRequest(final Long sinceId, final Long maxId) { return twitterCore.getApiClient().getListService().statuses(listId, slug, ownerScreenName, ownerId, sinceId, maxId, maxItemsPerRequest, true, includeRetweets); } TwitterListTimeline(TwitterCore twitterCore, Long listId, String slug, Long ownerId,
        String ownerScreenName, Integer maxItemsPerRequest, Boolean includeRetweets); @Override void next(Long sinceId, Callback<TimelineResult<Tweet>> cb); @Override void previous(Long maxId, Callback<TimelineResult<Tweet>> cb);  }
@Test public void testCreateListTimelineRequest() { final TwitterListTimeline timeline = new TwitterListTimeline(twitterCore, TEST_LIST_ID, TEST_SLUG, TEST_OWNER_ID, TEST_OWNER_SCREEN_NAME, TEST_ITEMS_PER_REQUEST, true); timeline.createListTimelineRequest(TEST_SINCE_ID, TEST_MAX_ID); verify(twitterCore.getApiClient().getListService()).statuses(eq(TEST_LIST_ID), eq(TEST_SLUG), eq(TEST_OWNER_SCREEN_NAME), eq(TEST_OWNER_ID), eq(TEST_SINCE_ID), eq(TEST_MAX_ID), eq(TEST_ITEMS_PER_REQUEST), eq(true), eq(true)); }