@Test
public void testResolvePatientRegistryDuplicates() throws Throwable {

	// Arrange
	String eIdMock = "eIdMock";
	String eIdDomainMock = "eIdDomainMock";
	sut.setMarshaller(marshallerMock);
	sut.setXdsbRegistryWebServiceClient(xdsbRegistryWebServiceClientMock);
	PRPAIN201304UV02 requestMock = mock(PRPAIN201304UV02.class);
	String hl7v3XmlMock = "hl7v3XmlMock";
	when(
			marshallerMock.unmarshalFromXml(PRPAIN201304UV02.class,
					hl7v3XmlMock)).thenReturn(requestMock);
	when(
			xdsbRegistryWebServiceClientMock
					.resolvePatientRegistryDuplicates(requestMock))
			.thenReturn(hl7v3XmlMock);
	doNothing().when(sut).setEidValues(requestMock, eIdMock, eIdDomainMock);
	// Act
	String actRetResponse = sut.resolvePatientRegistryDuplicates(
			hl7v3XmlMock, eIdMock, eIdDomainMock);
	// Asset
	assertEquals(hl7v3XmlMock, actRetResponse);
}