PixManagerTransformServiceImpl implements
		PixManagerTransformService { @Override public String getPixUpdateXml(String c32xml) throws Hl7v3TransformerException { return hl7v3Transformer.transformToHl7v3PixXml(c32xml, Hl7v3Transformer.XSLT_C32_TO_PIX_UPDATE); }  @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 testGetPixUpdateXml() throws Hl7v3TransformerException { String pixUpdateMock = "pixUpdateMock"; String c32XmlMock = "c32XmlMock"; when( hl7v3TransformerMock.transformToHl7v3PixXml(c32XmlMock, Hl7v3Transformer.XSLT_C32_TO_PIX_UPDATE)).thenReturn( pixUpdateMock); String actualRet = sut.getPixUpdateXml(c32XmlMock); assertEquals(pixUpdateMock, actualRet); }