### Question:
XdsbRegistryController { @RequestMapping(value = "/regAdd", method = RequestMethod.POST) public @ResponseBody MCCIIN000002UV01 reqToXdsbRegistryAdd(@RequestParam("c32Xml") String c32xml) { return pixOperationsService.addPatientRegistryRecord(c32xml); }  @RequestMapping(value = "/regAdd", method = RequestMethod.POST) @ResponseBody MCCIIN000002UV01 reqToXdsbRegistryAdd(@RequestParam("c32Xml") String c32xml); @RequestMapping(value = "/regUpdate", method = RequestMethod.POST) @ResponseBody MCCIIN000002UV01 reqToXdsbRegistryUpdate(
			@RequestParam("c32Xml") String c32xml); @RequestMapping(value = "/repProvide", method = RequestMethod.POST) @ResponseBody RegistryResponse provideAndRegisterClinicalDocument(
			@RequestParam("c32Xml") String c32xml); void setPixOperationsService(
			PixOperationsService pixOperationsService);  }### Answer:
@Test public void testReqToXdsbRegistryAdd() { String c32XmlMock = "c32XmlMock"; MCCIIN000002UV01 addPatientMock = new MCCIIN000002UV01(); when(pixOperationsServiceMock.addPatientRegistryRecord(c32XmlMock)) .thenReturn(addPatientMock); MCCIIN000002UV01 actualRetResponse = sut .reqToXdsbRegistryAdd(c32XmlMock); assertEquals(addPatientMock, actualRetResponse); }