PixManagerTransformServiceImpl implements
		PixManagerTransformService { @Override public String getPixQueryXml(String c32xml) throws Hl7v3TransformerException { return hl7v3Transformer.transformToHl7v3PixXml(c32xml, Hl7v3Transformer.XSLT_C32_TO_PIX_QUERY); }  @Override String getPixAddXml(String c32xml); @Override String getPixUpdateXml(String c32xml); @Override String getPixQueryXml(String c32xml); @Override String getPixXml(PixOperation operation, String c32xml);  }
@Test public void testGetPixQueryXml() throws Hl7v3TransformerException { String pixQueryMock = "pixQueryMock"; String c32XmlMock = "c32XmlMock"; when( hl7v3TransformerMock.transformToHl7v3PixXml(c32XmlMock, Hl7v3Transformer.XSLT_C32_TO_PIX_QUERY)).thenReturn( pixQueryMock); String actualRet = sut.getPixQueryXml(c32XmlMock); assertEquals(pixQueryMock, actualRet); }