### Question:
PixMgrController { @RequestMapping(value = "/tansformHl7Query", method = RequestMethod.POST) public @ResponseBody String transformC32ToPixQuery(@RequestParam("c32Xml") String c32xml) throws C32ParserException, Hl7v3TransformerException { String pixQueryXML = pixManagerTransformService.getPixQueryXml(c32xml); return pixQueryXML; }  @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);  }### Answer:
@Test public void testTransformC32ToPixQuery() throws Hl7v3TransformerException, C32ParserException { String c32XmlMock = "c32XmlMock"; String pixQueryXML = "pixQueryXML"; when(pixManagerTransformServiceMock.getPixQueryXml(c32XmlMock)).thenReturn(pixQueryXML); String actualRet = sut.transformC32ToPixQuery(c32XmlMock); assertEquals(pixQueryXML, actualRet); }