@Test
public void testErrorRetrieveDocumentSetResponseSchemaValidation_Partial_Success() {

	// Arrange
	RetrieveDocumentSetResponse response = new RetrieveDocumentSetResponse();
	DocumentResponse document = new DocumentResponse();
	document.setDocumentUniqueId("1");
	response.getDocumentResponse().add(document);
	HashMap<String, String> map = new HashMap<String, String>();
	map.put("2", "error message");
	// Act
	RetrieveDocumentSetResponse actualResponse = sut
			.errorRetrieveDocumentSetResponseSchemaValidation(response, map);
	// Assert
	assertEquals(1, actualResponse.getDocumentResponse().size());
	assertEquals(document, actualResponse.getDocumentResponse().get(0));
	assertEquals(
			"urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:PartialSuccess",
			actualResponse.getRegistryResponse().getStatus());
	assertEquals(
			"Document validation error(s) occurred in Policy Enforcement Point for document(s): [2]. Please contact to system administrator if this error persists.",
			actualResponse.getRegistryResponse().getRegistryErrorList()
					.getRegistryError().get(0).getCodeContext());
}