@Test public void testUnfollowUser(){ mockServer.expect(requestTo("https: .andExpect(method(DELETE)) .andRespond(withSuccess("", MediaType.TEXT_PLAIN)); yammerTemplate.subscriptionOperations().unfollowUser(111L); }
public void unfollowUser(long userId) { unfollow("user",userId); }
SubscriptionTemplate extends AbstractYammerOperations implements SubscriptionOperations { public void unfollowUser(long userId) { unfollow("user",userId); } }
SubscriptionTemplate extends AbstractYammerOperations implements SubscriptionOperations { public void unfollowUser(long userId) { unfollow("user",userId); } SubscriptionTemplate(RestTemplate restTemplate); }
SubscriptionTemplate extends AbstractYammerOperations implements SubscriptionOperations { public void unfollowUser(long userId) { unfollow("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); }
SubscriptionTemplate extends AbstractYammerOperations implements SubscriptionOperations { public void unfollowUser(long userId) { unfollow("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);  }