TwitterTweeter extends Tweeter { @Override public Stream<User> getFriends(final User user) { return getFriends(user.getId()); }  @Override TweetStream createTweetStream(final TweetFilterQuery tweetFilterQuery); @Override Tweet getTweet(long tweetId); @Override User getUser(final String userId); @Override Stream<User> getFriends(final User user); @Override Stream<User> getFriends(final String userScreenName); @Override Stream<User> getFriends(final long userId); @Override Stream<User> getFollowers(final User user); @Override Stream<User> getFollowers(final String userScreenName); @Override Stream<User> getFollowers(final long userId); @Override Stream<Tweet> search(final TweetQuery tweetQuery); @Override Stream<Tweet> searchPaged(final TweetQuery tweetQuery, int numberOfPages); @Override void shutdown();  }
@Test @Ignore public void tweetGetFriends() { final Tweeter tweeter = getTweeter(); assertNotNull(tweeter); skipIfOauthisNotConfigured(); List<String> users = tweeter .getFriends("Devoxx") .map(User::getScreenName) .limit(1000) .sorted(String.CASE_INSENSITIVE_ORDER) .collect(Collectors.toList()); System.out.println("users.size: " + users.size()); users.forEach(System.out::println); assertFalse("Did not find any Users", users.isEmpty()); }