test_class.file: spring-social-yammer/src/test/java/org/springframework/social/yammer/api/impl/UserTemplateTest.java
test_class.identifier: UserTemplateTest
test_class.superclass: extends AbstractYammerApiTest
test_case.body: @Test
  	public void testUpdateUser(){
  		mockServer.expect(requestTo("https://www.yammer.com/api/v1/users/123456.json?full_name=Dilbert+Gradle&job_title=Developer&location=The+Streaming&im_provider=gtalk&im_username=dilbert.gradle%40gmail.com&work_telephone=123456&external_profiles=http%3A%2F%2Fwww.linkedin.com%2Fdilbertgradle&work_extension=1&mobile_telephone=121212&significant_other=Ms+Gradle&kids_names=Dilbert+Gradle+jr&interests=Building&summary=Featured+in+The+Streaming&expertise=Awsomenes&education%5B%5D=foo%2Cbar%2Cfoobar%2C2000%2C2001&education%5B%5D=bar%2Cfoo%2Cbarfoo%2C2001%2C&previous_companies%5B%5D=foobar+consulting%2Cconsultant%2Cconsulting+on+foobarnesse%2C2001%2C&previous_companies%5B%5D=yabadoo%2Ccaveman%2Ccavingness%2C1900%2C1950"))
  		.andExpect(method(PUT))
  		.andRespond(withSuccess());
  		UserInfo userInfo = new UserInfo(null, "Dilbert Gradle", "Developer", "The Streaming", "gtalk", "dilbert.gradle@gmail.com", "123456", "1", "121212", "http://www.linkedin.com/dilbertgradle", "Ms Gradle","Dilbert Gradle jr", "Building", "Featured in The Streaming", "Awsomenes");
  		userInfo.addEducation("foo", "bar", "foobar", 2000, 2001);
  		userInfo.addEducation("bar", "foo", "barfoo", 2001, null);
  		userInfo.addExperience("foobar consulting", "consultant", "consulting on foobarnesse", 2001,null);
  		userInfo.addExperience("yabadoo", "caveman", "cavingness", 1900,1950);
  		yammerTemplate.userOperations().updateProfile(123456L, userInfo);
  	}
test_case.class_method_signature: UserTemplateTest.testUpdateUser()
test_case.full_signature: @Test public void testUpdateUser()
test_case.identifier: testUpdateUser
test_case.invocations: andRespond andExpect expect requestTo method withSuccess addEducation addEducation addExperience addExperience updateProfile userOperations
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testUpdateUser()
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/UserTemplate.java
focal_class.identifier: UserTemplate
focal_class.interfaces: implements UserOperations
focal_class.class_method_signature: UserTemplate.UserTemplate(RestTemplate restTemplate)
focal_class.full_signature: public  UserTemplate(RestTemplate restTemplate)
focal_class.identifier: UserTemplate
focal_class.modifiers: public
focal_class.parameters: (RestTemplate restTemplate)
focal_class.signature:  UserTemplate(RestTemplate restTemplate)
focal_class.class_method_signature: UserTemplate.getUsers(int page)
focal_class.full_signature: public List<YammerProfile> getUsers(int page)
focal_class.identifier: getUsers
focal_class.modifiers: public
focal_class.parameters: (int page)
focal_class.return: List<YammerProfile>
focal_class.signature: List<YammerProfile> getUsers(int page)
focal_class.class_method_signature: UserTemplate.getUsers(int page, String sortBy, boolean reverse, Character letter)
focal_class.full_signature: public List<YammerProfile> getUsers(int page, String sortBy, boolean reverse, Character letter)
focal_class.identifier: getUsers
focal_class.modifiers: public
focal_class.parameters: (int page, String sortBy, boolean reverse, Character letter)
focal_class.return: List<YammerProfile>
focal_class.signature: List<YammerProfile> getUsers(int page, String sortBy, boolean reverse, Character letter)
focal_class.class_method_signature: UserTemplate.getUser(long id)
focal_class.full_signature: public YammerProfile getUser(long id)
focal_class.identifier: getUser
focal_class.modifiers: public
focal_class.parameters: (long id)
focal_class.return: YammerProfile
focal_class.signature: YammerProfile getUser(long id)
focal_class.class_method_signature: UserTemplate.getUser(String userId)
focal_class.full_signature: public YammerProfile getUser(String userId)
focal_class.identifier: getUser
focal_class.modifiers: public
focal_class.parameters: (String userId)
focal_class.return: YammerProfile
focal_class.signature: YammerProfile getUser(String userId)
focal_class.class_method_signature: UserTemplate.updateProfile(long userId, UserInfo userInfo)
focal_class.full_signature: public void updateProfile(long userId, UserInfo userInfo)
focal_class.identifier: updateProfile
focal_class.modifiers: public
focal_class.parameters: (long userId, UserInfo userInfo)
focal_class.return: void
focal_class.signature: void updateProfile(long userId, UserInfo userInfo)
focal_class.class_method_signature: UserTemplate.getUserProfile()
focal_class.full_signature: public YammerProfile getUserProfile()
focal_class.identifier: getUserProfile
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: YammerProfile
focal_class.signature: YammerProfile getUserProfile()
focal_class.class_method_signature: UserTemplate.getUserByEmail(String email)
focal_class.full_signature: public YammerProfile getUserByEmail(String email)
focal_class.identifier: getUserByEmail
focal_class.modifiers: public
focal_class.parameters: (String email)
focal_class.return: YammerProfile
focal_class.signature: YammerProfile getUserByEmail(String email)
focal_class.superclass: extends AbstractYammerOperations
focal_method.body: public void updateProfile(long userId, UserInfo userInfo){
  		restTemplate.put(buildUri("users/"+String.valueOf(userId)+".json", userInfo.toParams()),null);
  	}
focal_method.class_method_signature: UserTemplate.updateProfile(long userId, UserInfo userInfo)
focal_method.full_signature: public void updateProfile(long userId, UserInfo userInfo)
focal_method.identifier: updateProfile
focal_method.invocations: put buildUri valueOf toParams
focal_method.modifiers: public
focal_method.parameters: (long userId, UserInfo userInfo)
focal_method.return: void
focal_method.signature: void updateProfile(long userId, UserInfo userInfo)