test_class.file: spring-social-yammer/src/test/java/org/springframework/social/yammer/api/impl/GroupTemplateTest.java
test_class.identifier: GroupTemplateTest
test_class.superclass: extends AbstractYammerApiTest
test_case.body: @Test
  	public void testLeaveGroup(){
  		mockServer.expect(requestTo("https://www.yammer.com/api/v1/group_memberships.json?group_id=1234"))
  		.andExpect(method(DELETE))
          .andRespond(withSuccess("", MediaType.TEXT_PLAIN));
  		yammerTemplate.groupOperations().leaveGroup(1234L);
  	}
test_case.class_method_signature: GroupTemplateTest.testLeaveGroup()
test_case.full_signature: @Test public void testLeaveGroup()
test_case.identifier: testLeaveGroup
test_case.invocations: andRespond andExpect expect requestTo method withSuccess leaveGroup groupOperations
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testLeaveGroup()
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/GroupTemplate.java
focal_class.identifier: GroupTemplate
focal_class.interfaces: implements GroupOperations
focal_class.class_method_signature: GroupTemplate.GroupTemplate(RestTemplate restTemplate)
focal_class.full_signature: public  GroupTemplate(RestTemplate restTemplate)
focal_class.identifier: GroupTemplate
focal_class.modifiers: public
focal_class.parameters: (RestTemplate restTemplate)
focal_class.signature:  GroupTemplate(RestTemplate restTemplate)
focal_class.class_method_signature: GroupTemplate.getGroups(int page, Character letter, String sortBy, boolean reverse)
focal_class.full_signature: public List<Group> getGroups(int page, Character letter, String sortBy, boolean reverse)
focal_class.identifier: getGroups
focal_class.modifiers: public
focal_class.parameters: (int page, Character letter, String sortBy, boolean reverse)
focal_class.return: List<Group>
focal_class.signature: List<Group> getGroups(int page, Character letter, String sortBy, boolean reverse)
focal_class.class_method_signature: GroupTemplate.getGroup(long groupId)
focal_class.full_signature: public Group getGroup(long groupId)
focal_class.identifier: getGroup
focal_class.modifiers: public
focal_class.parameters: (long groupId)
focal_class.return: Group
focal_class.signature: Group getGroup(long groupId)
focal_class.class_method_signature: GroupTemplate.createGroup(String name, boolean isPrivate)
focal_class.full_signature: public void createGroup(String name, boolean isPrivate)
focal_class.identifier: createGroup
focal_class.modifiers: public
focal_class.parameters: (String name, boolean isPrivate)
focal_class.return: void
focal_class.signature: void createGroup(String name, boolean isPrivate)
focal_class.class_method_signature: GroupTemplate.updateGroup(long groupId, String name, boolean isPrivate)
focal_class.full_signature: public void updateGroup(long groupId, String name, boolean isPrivate)
focal_class.identifier: updateGroup
focal_class.modifiers: public
focal_class.parameters: (long groupId, String name, boolean isPrivate)
focal_class.return: void
focal_class.signature: void updateGroup(long groupId, String name, boolean isPrivate)
focal_class.class_method_signature: GroupTemplate.joinGroup(long groupId)
focal_class.full_signature: public void joinGroup(long groupId)
focal_class.identifier: joinGroup
focal_class.modifiers: public
focal_class.parameters: (long groupId)
focal_class.return: void
focal_class.signature: void joinGroup(long groupId)
focal_class.class_method_signature: GroupTemplate.leaveGroup(long groupId)
focal_class.full_signature: public void leaveGroup(long groupId)
focal_class.identifier: leaveGroup
focal_class.modifiers: public
focal_class.parameters: (long groupId)
focal_class.return: void
focal_class.signature: void leaveGroup(long groupId)
focal_class.superclass: extends AbstractYammerOperations
focal_method.body: public void leaveGroup(long groupId){
  		restTemplate.delete(buildUri("group_memberships.json", "group_id", String.valueOf(groupId)));
  	}
focal_method.class_method_signature: GroupTemplate.leaveGroup(long groupId)
focal_method.full_signature: public void leaveGroup(long groupId)
focal_method.identifier: leaveGroup
focal_method.invocations: delete buildUri valueOf
focal_method.modifiers: public
focal_method.parameters: (long groupId)
focal_method.return: void
focal_method.signature: void leaveGroup(long groupId)