test_class.file: spring-social-strava/src/test/java/org/springframework/social/strava/api/impl/AthleteTemplateTest.java
test_class.identifier: AthleteTemplateTest
test_class.superclass: extends AbstractStravaApiTest
test_case.body: @Test
  	public void getProfileUrl() {
  		mockServer.expect(requestTo("https://www.strava.com/api/v3/athlete")).andExpect(method(GET))
  				.andExpect(header("Authorization", "Bearer ACCESS_TOKEN"))
  				.andRespond(withSuccess(new ClassPathResource("profile.json", getClass()), MediaType.APPLICATION_JSON));
  		assertEquals("https://www.strava.com/athletes/227615", strava.athleteOperations().getProfileUrl());
  	}
test_case.class_method_signature: AthleteTemplateTest.getProfileUrl()
test_case.full_signature: @Test public void getProfileUrl()
test_case.identifier: getProfileUrl
test_case.invocations: andRespond andExpect andExpect expect requestTo method header withSuccess getClass assertEquals getProfileUrl athleteOperations
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void getProfileUrl()
focal_class.declarator: restTemplate
focal_class.modifier: private final
focal_class.original_string: private final RestTemplate restTemplate;
focal_class.type: RestTemplate
focal_class.var_name: restTemplate
focal_class.declarator: dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss Z", Locale.ENGLISH)
focal_class.modifier: private
focal_class.original_string: private DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss Z", Locale.ENGLISH);
focal_class.type: DateFormat
focal_class.var_name: dateFormat
focal_class.file: spring-social-strava/src/main/java/org/springframework/social/strava/api/impl/AthleteTemplate.java
focal_class.identifier: AthleteTemplate
focal_class.interfaces: implements AthleteOperations
focal_class.class_method_signature: AthleteTemplate.AthleteTemplate(RestTemplate restTemplate, boolean isAuthorizedForUser)
focal_class.full_signature: public  AthleteTemplate(RestTemplate restTemplate, boolean isAuthorizedForUser)
focal_class.identifier: AthleteTemplate
focal_class.modifiers: public
focal_class.parameters: (RestTemplate restTemplate, boolean isAuthorizedForUser)
focal_class.signature:  AthleteTemplate(RestTemplate restTemplate, boolean isAuthorizedForUser)
focal_class.class_method_signature: AthleteTemplate.getProfileId()
focal_class.full_signature: public String getProfileId()
focal_class.identifier: getProfileId
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getProfileId()
focal_class.class_method_signature: AthleteTemplate.getAthleteProfile()
focal_class.full_signature: public StravaAthleteProfile getAthleteProfile()
focal_class.identifier: getAthleteProfile
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: StravaAthleteProfile
focal_class.signature: StravaAthleteProfile getAthleteProfile()
focal_class.class_method_signature: AthleteTemplate.getProfileUrl()
focal_class.full_signature: public String getProfileUrl()
focal_class.identifier: getProfileUrl
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getProfileUrl()
focal_class.class_method_signature: AthleteTemplate.getAthleteProfileById(String id)
focal_class.full_signature: public StravaAthleteProfile getAthleteProfileById(String id)
focal_class.identifier: getAthleteProfileById
focal_class.modifiers: public
focal_class.parameters: (String id)
focal_class.return: StravaAthleteProfile
focal_class.signature: StravaAthleteProfile getAthleteProfileById(String id)
focal_class.class_method_signature: AthleteTemplate.getSegments(String user)
focal_class.full_signature: public List<StravaSegment> getSegments(String user)
focal_class.identifier: getSegments
focal_class.modifiers: public
focal_class.parameters: (String user)
focal_class.return: List<StravaSegment>
focal_class.signature: List<StravaSegment> getSegments(String user)
focal_class.class_method_signature: AthleteTemplate.toDate(String dateString, DateFormat dateFormat)
focal_class.full_signature: private Date toDate(String dateString, DateFormat dateFormat)
focal_class.identifier: toDate
focal_class.modifiers: private
focal_class.parameters: (String dateString, DateFormat dateFormat)
focal_class.return: Date
focal_class.signature: Date toDate(String dateString, DateFormat dateFormat)
focal_class.superclass: extends AbstractStravaOperations
focal_method.body: public String getProfileUrl() {
  		return "https://www.strava.com/athletes/" + getProfileId();
  	}
focal_method.class_method_signature: AthleteTemplate.getProfileUrl()
focal_method.full_signature: public String getProfileUrl()
focal_method.identifier: getProfileUrl
focal_method.invocations: getProfileId
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String getProfileUrl()