test_class.file: spring-social-yammer/src/test/java/org/springframework/social/yammer/api/impl/ThreadTemplateTest.java
test_class.identifier: ThreadTemplateTest
test_class.superclass: extends AbstractYammerApiTest
test_case.body: @Test
  	public void testGetThread(){
  		responseHeaders.setContentType(MediaType.APPLICATION_JSON);
  		mockServer.expect(requestTo("https://www.yammer.com/api/v1/threads/123.json")).andExpect(method(GET))
  				.andRespond(withSuccess(jsonResource("testdata/yammer-thread"), MediaType.APPLICATION_JSON));
  		YammerThread thread = yammerTemplate.threadOperations().getThread(123L);
  		assertThat(thread, notNullValue());
  		assertThread(thread);
  	}
test_case.class_method_signature: ThreadTemplateTest.testGetThread()
test_case.full_signature: @Test public void testGetThread()
test_case.identifier: testGetThread
test_case.invocations: setContentType andRespond andExpect expect requestTo method withSuccess jsonResource getThread threadOperations assertThat notNullValue assertThread
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetThread()
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/ThreadTemplate.java
focal_class.identifier: ThreadTemplate
focal_class.interfaces: implements ThreadOperations
focal_class.class_method_signature: ThreadTemplate.ThreadTemplate(RestTemplate restTemplate)
focal_class.full_signature: public  ThreadTemplate(RestTemplate restTemplate)
focal_class.identifier: ThreadTemplate
focal_class.modifiers: public
focal_class.parameters: (RestTemplate restTemplate)
focal_class.signature:  ThreadTemplate(RestTemplate restTemplate)
focal_class.class_method_signature: ThreadTemplate.getThread(long id)
focal_class.full_signature: public YammerThread getThread(long id)
focal_class.identifier: getThread
focal_class.modifiers: public
focal_class.parameters: (long id)
focal_class.return: YammerThread
focal_class.signature: YammerThread getThread(long id)
focal_class.superclass: extends AbstractYammerOperations
focal_method.body: public YammerThread getThread(long id) {
  		return restTemplate.getForObject(buildUri("threads/"+id+".json"), YammerThread.class);
  	}
focal_method.class_method_signature: ThreadTemplate.getThread(long id)
focal_method.full_signature: public YammerThread getThread(long id)
focal_method.identifier: getThread
focal_method.invocations: getForObject buildUri
focal_method.modifiers: public
focal_method.parameters: (long id)
focal_method.return: YammerThread
focal_method.signature: YammerThread getThread(long id)