### Question:
AthleteTemplate extends AbstractStravaOperations implements AthleteOperations { public String getProfileId() { return String.valueOf(getAthleteProfile().getId()); } AthleteTemplate(RestTemplate restTemplate, boolean isAuthorizedForUser); String getProfileId(); StravaAthleteProfile getAthleteProfile(); String getProfileUrl(); StravaAthleteProfile getAthleteProfileById(String id); List<StravaSegment> getSegments(String user);  }### Answer:
@Test public void getProfileId() { mockServer.expect(requestTo("https: .andExpect(header("Authorization", "Bearer ACCESS_TOKEN")) .andRespond(withSuccess(new ClassPathResource("profile.json", getClass()), MediaType.APPLICATION_JSON)); assertEquals("227615", strava.athleteOperations().getProfileId()); }