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