PixMgrController { @RequestMapping(value = "/tansformHl7Add", method = RequestMethod.POST) public @ResponseBody String transformC32ToPixAdd(@RequestParam("c32Xml") String c32xml) throws C32ParserException, Hl7v3TransformerException { String pixAddXML = pixManagerTransformService.getPixAddXml(c32xml); return pixAddXML; }  @RequestMapping(value = "/tansformHl7Add", method = RequestMethod.POST) @ResponseBody String transformC32ToPixAdd(@RequestParam("c32Xml") String c32xml); @RequestMapping(value = "/tansformHl7Update", method = RequestMethod.POST) @ResponseBody String transformC32ToPixUpdate(@RequestParam("c32Xml") String c32xml); @RequestMapping(value = "/tansformHl7Query", method = RequestMethod.POST) @ResponseBody String transformC32ToPixQuery(@RequestParam("c32Xml") String c32xml); @RequestMapping(value = "/pixAdd", method = RequestMethod.POST) @ResponseBody String reqToPixAdd(@RequestParam("c32Xml") String c32xml); @RequestMapping(value = "/pixUpdate", method = RequestMethod.POST) @ResponseBody String reqToPixUpdate(@RequestParam("c32Xml") String c32xml); @RequestMapping(value = "/pixQuery", method = RequestMethod.POST) @ResponseBody PixManagerBean reqToPixQuery(@RequestParam("c32Xml") String c32xml); void setPixOperationsService(PixOperationsService pixOperationsService); void setPixManagerTransformService(
			PixManagerTransformService pixManagerTransformService);  }
@Test public void testTransformC32ToPixAdd() throws Hl7v3TransformerException, C32ParserException { String c32XmlMock = "c32XmlMock"; String pixAddXmlMock = "pixAddXmlMock"; when(pixManagerTransformServiceMock.getPixAddXml(c32XmlMock)).thenReturn(pixAddXmlMock); String actualRet = sut.transformC32ToPixAdd(c32XmlMock); assertEquals(pixAddXmlMock, actualRet); }