### Question:
TopicTemplate extends AbstractYammerOperations implements TopicOperations { public Topic getTopic(long id) { return restTemplate.getForObject(buildUri("topics/"+String.valueOf(id)+".json"), Topic.class); } TopicTemplate(RestTemplate restTemplate); Topic getTopic(long id);  }### Answer:
@Test public void testGetTopic(){ mockServer.expect(requestTo("https: .andRespond(withSuccess(jsonResource("testdata/yammer-topic"), APPLICATION_JSON)); Topic topic = yammerTemplate.topicOperations().getTopic(123L); assertThat(topic, notNullValue()); assertThat(topic.getId(), equalTo(712836L)); }