### Question:
SubscriptionTemplate extends AbstractYammerOperations implements SubscriptionOperations { public void followUser(long userId) { follow("user",userId); } SubscriptionTemplate(RestTemplate restTemplate); void followUser(long userId); void followTopic(long topicId); void unfollowUser(long userId); void unfollowTopic(long topicId); boolean isFollowingUser(long userId); boolean isFollowingTopic(long topicId); boolean isFollowingThread(long threadId);  }### Answer:
@Test public void testFollowUser(){ mockServer.expect(requestTo("https: .andExpect(method(POST)) .andExpect(content().string("target_type=user&target_id=111")) .andRespond(withSuccess("", MediaType.TEXT_PLAIN)); yammerTemplate.subscriptionOperations().followUser(111L); }