### Question:
PhysicianController { @GetMapping("/{id}") public Physician get(@RequestHeader(Constants.GRANT_HEADER) PureGrant grant, @PathVariable("id") String physicianId) { return this.physicianService.get(physicianId, grant); }  @GetMapping List<Physician> list(@RequestHeader(Constants.GRANT_HEADER) PureGrant grant); @GetMapping("/{id}") Physician get(@RequestHeader(Constants.GRANT_HEADER) PureGrant grant,
			@PathVariable("id") String physicianId); @GetMapping("/{id}/patients") List<Patient> patients(@RequestHeader(Constants.GRANT_HEADER) PureGrant grant,
			@PathVariable("id") String physicianId); @PostMapping("/{id}/patients/{patientId}") void assignPatient(@RequestHeader(Constants.GRANT_HEADER) PureGrant grant,
			@PathVariable("id") String physicianId, @PathVariable("patientId") String patientId);  }### Answer:
@Test void get() throws Exception { HttpHeaders headers = new HttpHeaders(); headers.set(Constants.GRANT_HEADER, this.registeredPhysician.getGrant()); HttpEntity<?> entity = new HttpEntity<>(headers); ResponseEntity<Physician> response = this.restTemplate.exchange( "/physicians/" + this.registeredPhysician.getUserId(), HttpMethod.GET, entity, Physician.class); assertEquals(200, response.getStatusCodeValue()); Physician physician = response.getBody(); assertNotNull(physician); validate(physician); this.mockMvc .perform(MockMvcRequestBuilders .request(HttpMethod.GET, "/physicians/" + this.registeredPhysician.getUserId()) .header(Constants.GRANT_HEADER, this.registeredPhysician.getGrant())) .andDo(document("physician/get", preprocessRequest(prettyPrint()), preprocessResponse(prettyPrint()))); }