test_class.file: spring-social-yammer/src/test/java/org/springframework/social/yammer/api/impl/SubscriptionTemplateTest.java
test_class.identifier: SubscriptionTemplateTest
test_class.superclass: extends AbstractYammerApiTest
test_case.body: @Test
  	public void testFollowTopic(){
  		mockServer.expect(requestTo("https://www.yammer.com/api/v1/subscriptions"))
  		.andExpect(method(POST))
  		.andExpect(content().string("target_type=tag&target_id=123"))
  		.andRespond(withSuccess("", APPLICATION_JSON));
  		yammerTemplate.subscriptionOperations().followTopic(123L);		
  	}
test_case.class_method_signature: SubscriptionTemplateTest.testFollowTopic()
test_case.full_signature: @Test public void testFollowTopic()
test_case.identifier: testFollowTopic
test_case.invocations: andRespond andExpect andExpect expect requestTo method string content withSuccess followTopic subscriptionOperations
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testFollowTopic()
focal_class.declarator: restTemplate
focal_class.modifier: private
focal_class.original_string: private RestTemplate restTemplate;
focal_class.type: RestTemplate
focal_class.var_name: restTemplate
focal_class.file: spring-social-yammer/src/main/java/org/springframework/social/yammer/api/impl/SubscriptionTemplate.java
focal_class.identifier: SubscriptionTemplate
focal_class.interfaces: implements SubscriptionOperations
focal_class.class_method_signature: SubscriptionTemplate.SubscriptionTemplate(RestTemplate restTemplate)
focal_class.full_signature: public  SubscriptionTemplate(RestTemplate restTemplate)
focal_class.identifier: SubscriptionTemplate
focal_class.modifiers: public
focal_class.parameters: (RestTemplate restTemplate)
focal_class.signature:  SubscriptionTemplate(RestTemplate restTemplate)
focal_class.class_method_signature: SubscriptionTemplate.followUser(long userId)
focal_class.full_signature: public void followUser(long userId)
focal_class.identifier: followUser
focal_class.modifiers: public
focal_class.parameters: (long userId)
focal_class.return: void
focal_class.signature: void followUser(long userId)
focal_class.class_method_signature: SubscriptionTemplate.followTopic(long topicId)
focal_class.full_signature: public void followTopic(long topicId)
focal_class.identifier: followTopic
focal_class.modifiers: public
focal_class.parameters: (long topicId)
focal_class.return: void
focal_class.signature: void followTopic(long topicId)
focal_class.class_method_signature: SubscriptionTemplate.unfollowUser(long userId)
focal_class.full_signature: public void unfollowUser(long userId)
focal_class.identifier: unfollowUser
focal_class.modifiers: public
focal_class.parameters: (long userId)
focal_class.return: void
focal_class.signature: void unfollowUser(long userId)
focal_class.class_method_signature: SubscriptionTemplate.unfollowTopic(long topicId)
focal_class.full_signature: public void unfollowTopic(long topicId)
focal_class.identifier: unfollowTopic
focal_class.modifiers: public
focal_class.parameters: (long topicId)
focal_class.return: void
focal_class.signature: void unfollowTopic(long topicId)
focal_class.class_method_signature: SubscriptionTemplate.isFollowingUser(long userId)
focal_class.full_signature: public boolean isFollowingUser(long userId)
focal_class.identifier: isFollowingUser
focal_class.modifiers: public
focal_class.parameters: (long userId)
focal_class.return: boolean
focal_class.signature: boolean isFollowingUser(long userId)
focal_class.class_method_signature: SubscriptionTemplate.isFollowingTopic(long topicId)
focal_class.full_signature: public boolean isFollowingTopic(long topicId)
focal_class.identifier: isFollowingTopic
focal_class.modifiers: public
focal_class.parameters: (long topicId)
focal_class.return: boolean
focal_class.signature: boolean isFollowingTopic(long topicId)
focal_class.class_method_signature: SubscriptionTemplate.isFollowingThread(long threadId)
focal_class.full_signature: public boolean isFollowingThread(long threadId)
focal_class.identifier: isFollowingThread
focal_class.modifiers: public
focal_class.parameters: (long threadId)
focal_class.return: boolean
focal_class.signature: boolean isFollowingThread(long threadId)
focal_class.class_method_signature: SubscriptionTemplate.follow(String targetType, long id)
focal_class.full_signature: private void follow(String targetType, long id)
focal_class.identifier: follow
focal_class.modifiers: private
focal_class.parameters: (String targetType, long id)
focal_class.return: void
focal_class.signature: void follow(String targetType, long id)
focal_class.class_method_signature: SubscriptionTemplate.unfollow(String targetType, long id)
focal_class.full_signature: private void unfollow(String targetType, long id)
focal_class.identifier: unfollow
focal_class.modifiers: private
focal_class.parameters: (String targetType, long id)
focal_class.return: void
focal_class.signature: void unfollow(String targetType, long id)
focal_class.class_method_signature: SubscriptionTemplate.toParams(String targetType, long id)
focal_class.full_signature: private MultiValueMap<String, String> toParams(String targetType, long id)
focal_class.identifier: toParams
focal_class.modifiers: private
focal_class.parameters: (String targetType, long id)
focal_class.return: MultiValueMap<String, String>
focal_class.signature: MultiValueMap<String, String> toParams(String targetType, long id)
focal_class.class_method_signature: SubscriptionTemplate.isFollowing(URI url)
focal_class.full_signature: private boolean isFollowing(URI url)
focal_class.identifier: isFollowing
focal_class.modifiers: private
focal_class.parameters: (URI url)
focal_class.return: boolean
focal_class.signature: boolean isFollowing(URI url)
focal_class.superclass: extends AbstractYammerOperations
focal_method.body: public void followTopic(long topicId) {
  		follow("tag", topicId);
  	}
focal_method.class_method_signature: SubscriptionTemplate.followTopic(long topicId)
focal_method.full_signature: public void followTopic(long topicId)
focal_method.identifier: followTopic
focal_method.invocations: follow
focal_method.modifiers: public
focal_method.parameters: (long topicId)
focal_method.return: void
focal_method.signature: void followTopic(long topicId)