@Test
public void testAddPatientRegistryRecord() throws Throwable {

	// Arrange
	sut.setMarshaller(marshallerMock);
	sut.setXdsbRegistryWebServiceClient(xdsbRegistryWebServiceClientMock);
	PRPAIN201301UV02 requestMock = mock(PRPAIN201301UV02.class);
	String hl7v3XmlMock = "hl7v3XmlMock";
	// Act
	when(
			marshallerMock.unmarshalFromXml(PRPAIN201301UV02.class,
					hl7v3XmlMock)).thenReturn(requestMock);
	doNothing().when(sut).setEidValues(requestMock, "eId", "eIdDomain");
	when(
			xdsbRegistryWebServiceClientMock
					.addPatientRegistryRecord(requestMock)).thenReturn(
			hl7v3XmlMock);
	String actRetResponse = sut.addPatientRegistryRecord(hl7v3XmlMock,
			"eId", "eIdDomain");
	// Asset
	assertEquals(hl7v3XmlMock, actRetResponse);
}