### Question:
TimelineTemplate extends AbstractTwitterOperations implements TimelineOperations { public void removeFromFavorites(long tweetId) { requireUserAuthorization(); MultiValueMap<String, Object> data = new LinkedMultiValueMap<String, Object>(); data.set("id", String.valueOf(tweetId)); restTemplate.postForObject(buildUri("favorites/destroy.json"), data, String.class); } TimelineTemplate(RestTemplate restTemplate, boolean isAuthorizedForUser, boolean isAuthorizedForApp); List<Tweet> getHomeTimeline(); List<Tweet> getHomeTimeline(int pageSize); List<Tweet> getHomeTimeline(int pageSize, long sinceId, long maxId); List<Tweet> getUserTimeline(); List<Tweet> getUserTimeline(int pageSize); List<Tweet> getUserTimeline(int pageSize, long sinceId, long maxId); List<Tweet> getUserTimeline(String screenName); List<Tweet> getUserTimeline(String screenName, int pageSize); List<Tweet> getUserTimeline(String screenName, int pageSize, long sinceId, long maxId); List<Tweet> getUserTimeline(long userId); List<Tweet> getUserTimeline(long userId, int pageSize); List<Tweet> getUserTimeline(long userId, int pageSize, long sinceId, long maxId); List<Tweet> getMentions(); List<Tweet> getMentions(int pageSize); List<Tweet> getMentions(int pageSize, long sinceId, long maxId); List<Tweet> getRetweetsOfMe(); List<Tweet> getRetweetsOfMe(int page, int pageSize); List<Tweet> getRetweetsOfMe(int page, int pageSize, long sinceId, long maxId); Tweet getStatus(long tweetId); OEmbedTweet getStatusOEmbed(String tweetId); OEmbedTweet getStatusOEmbed(String tweetId, OEmbedOptions options); Tweet updateStatus(String message); Tweet updateStatus(String message, Resource media); Tweet updateStatus(TweetData tweetData); void deleteStatus(long tweetId); Tweet retweet(long tweetId); List<Tweet> getRetweets(long tweetId); List<Tweet> getRetweets(long tweetId, int count); List<Tweet> getFavorites(); List<Tweet> getFavorites(int pageSize); List<Tweet> getFavorites(long userId); List<Tweet> getFavorites(long userId, int pageSize); List<Tweet> getFavorites(String screenName); List<Tweet> getFavorites(String screenName, int pageSize); void addToFavorites(long tweetId); void removeFromFavorites(long tweetId);  }### Answer:
@Test public void removeFromFavorites() { mockServer.expect(requestTo("https: .andExpect(method(POST)) .andRespond(withSuccess("{}", APPLICATION_JSON)); twitter.timelineOperations().removeFromFavorites(71L); mockServer.verify(); }