XdsbRegistryController { @RequestMapping(value = "/repProvide", method = RequestMethod.POST) public @ResponseBody RegistryResponse provideAndRegisterClinicalDocument( @RequestParam("c32Xml") String c32xml) { return pixOperationsService.provideAndRegisterClinicalDocument(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);  }
@Test public void testProvideAndRegisterClinicalDocument() { String c32XmlMock = "c32XmlMock"; RegistryResponse responseMock = new RegistryResponse(); when( pixOperationsServiceMock .provideAndRegisterClinicalDocument(c32XmlMock)) .thenReturn(responseMock); RegistryResponse actualResponse = sut .provideAndRegisterClinicalDocument(c32XmlMock); assertEquals(responseMock, actualResponse); }