@Test
public void testGetPixXml() throws Hl7v3TransformerException {

	// Arrange
	String c32XmlMock = "c32XmlMock";
	String pixAddXmlMock = "pixAddXmlMock";
	String pixUpdateXmlMock = "pixUpdateXmlMock";
	String pixQueryXmlMock = "pixQueryXmlMock";
	String nullReturnMock = "nullReturnMock";
	when(
			hl7v3TransformerMock.transformToHl7v3PixXml(c32XmlMock,
					Hl7v3Transformer.XSLT_C32_TO_PIX_ADD)).thenReturn(
			pixAddXmlMock);
	when(
			hl7v3TransformerMock.transformToHl7v3PixXml(c32XmlMock,
					Hl7v3Transformer.XSLT_C32_TO_PIX_UPDATE)).thenReturn(
			pixUpdateXmlMock);
	when(
			hl7v3TransformerMock.transformToHl7v3PixXml(c32XmlMock,
					Hl7v3Transformer.XSLT_C32_TO_PIX_QUERY)).thenReturn(
			pixQueryXmlMock);
	when(hl7v3TransformerMock.transformToHl7v3PixXml(c32XmlMock, null))
			.thenReturn(nullReturnMock);
	// Act
	String addResponse = sut.getPixXml(PixOperation.ADD, c32XmlMock);
	String updateResponse = sut.getPixXml(PixOperation.UPDATE, c32XmlMock);
	String queryResponse = sut.getPixXml(PixOperation.QUERY, c32XmlMock);
	String nullResponse = sut.getPixXml(PixOperation.MERGE, c32XmlMock);
	// Assert
	assertEquals(pixAddXmlMock, addResponse);
	assertEquals(pixUpdateXmlMock, updateResponse);
	assertEquals(pixQueryXmlMock, queryResponse);
	assertEquals(nullReturnMock, nullResponse);
}