@Test public void testErrorRetrieveDocumentSetResponseMultipleRepositoryId() throws SAXException, Throwable { String expectedResponse = fileReader .readFile("errorRetrieveDocumentSetResponseMultipleRepositoryId.xml"); RetrieveDocumentSetResponse actualResponse = sut .errorRetrieveDocumentSetResponseMultipleRepositoryId(); assertResponse(expectedResponse, actualResponse); }
public RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseMultipleRepositoryId() { String codeContext = "All repository ids in RetrieveDocumentSetRequest need to be same."; String errorCode = "XDSRepositoryError"; boolean isPartial = false; return createRetrieveDocumentSetResponseError(codeContext, errorCode, isPartial); }
XdsbErrorFactory { public RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseMultipleRepositoryId() { String codeContext = "All repository ids in RetrieveDocumentSetRequest need to be same."; String errorCode = "XDSRepositoryError"; boolean isPartial = false; return createRetrieveDocumentSetResponseError(codeContext, errorCode, isPartial); } }
XdsbErrorFactory { public RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseMultipleRepositoryId() { String codeContext = "All repository ids in RetrieveDocumentSetRequest need to be same."; String errorCode = "XDSRepositoryError"; boolean isPartial = false; return createRetrieveDocumentSetResponseError(codeContext, errorCode, isPartial); } XdsbErrorFactory();  XdsbErrorFactory(RegistryErrorListSetter registryErrorListSetter); }
XdsbErrorFactory { public RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseMultipleRepositoryId() { String codeContext = "All repository ids in RetrieveDocumentSetRequest need to be same."; String errorCode = "XDSRepositoryError"; boolean isPartial = false; return createRetrieveDocumentSetResponseError(codeContext, errorCode, isPartial); } XdsbErrorFactory();  XdsbErrorFactory(RegistryErrorListSetter registryErrorListSetter); RetrieveDocumentSetResponse setRetrieveDocumentSetResponseRegistryErrorListFilteredByPatientAndAuthor(
			RetrieveDocumentSetResponse response, int numRemoved,
			String patientId, String authorNPI); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseMultipleRepositoryId(); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseConstructByErrorMessage(
			String errorMessage); RetrieveDocumentSetResponse errorRetrieveDocumentSetInternalServerError(); RetrieveDocumentSetResponse noClinicalDocumentFound(
			String patientId, String authorNPI); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseSchemaValidation(
			RetrieveDocumentSetResponse response, Map<String, String> errorMap); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseNotExistsOrAccessible(
			RetrieveDocumentSetRequest input); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseRepositoryNotAvailable(); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseInternalPEPError(); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseAccessDeniedByPDP(); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseNoConsentsFound(
			String patientUniqueId); AdhocQueryResponse errorAdhocQueryResponseConstructByErrorMessage(
			String errorMessage); AdhocQueryResponse errorAdhocQueryResponseRegistryNotAvailable(); AdhocQueryResponse errorAdhocQueryResponseAccessDeniedByPDP(); AdhocQueryResponse errorAdhocQueryResponseInternalServerError(); AdhocQueryResponse errorAdhocQueryResponseNoDocumentsFound(
			String patientUniqueId, String intermediarySubjectNPI); AdhocQueryResponse errorAdhocQueryResponseMissingParameters(); }
XdsbErrorFactory { public RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseMultipleRepositoryId() { String codeContext = "All repository ids in RetrieveDocumentSetRequest need to be same."; String errorCode = "XDSRepositoryError"; boolean isPartial = false; return createRetrieveDocumentSetResponseError(codeContext, errorCode, isPartial); } XdsbErrorFactory();  XdsbErrorFactory(RegistryErrorListSetter registryErrorListSetter); RetrieveDocumentSetResponse setRetrieveDocumentSetResponseRegistryErrorListFilteredByPatientAndAuthor(
			RetrieveDocumentSetResponse response, int numRemoved,
			String patientId, String authorNPI); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseMultipleRepositoryId(); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseConstructByErrorMessage(
			String errorMessage); RetrieveDocumentSetResponse errorRetrieveDocumentSetInternalServerError(); RetrieveDocumentSetResponse noClinicalDocumentFound(
			String patientId, String authorNPI); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseSchemaValidation(
			RetrieveDocumentSetResponse response, Map<String, String> errorMap); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseNotExistsOrAccessible(
			RetrieveDocumentSetRequest input); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseRepositoryNotAvailable(); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseInternalPEPError(); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseAccessDeniedByPDP(); RetrieveDocumentSetResponse errorRetrieveDocumentSetResponseNoConsentsFound(
			String patientUniqueId); AdhocQueryResponse errorAdhocQueryResponseConstructByErrorMessage(
			String errorMessage); AdhocQueryResponse errorAdhocQueryResponseRegistryNotAvailable(); AdhocQueryResponse errorAdhocQueryResponseAccessDeniedByPDP(); AdhocQueryResponse errorAdhocQueryResponseInternalServerError(); AdhocQueryResponse errorAdhocQueryResponseNoDocumentsFound(
			String patientUniqueId, String intermediarySubjectNPI); AdhocQueryResponse errorAdhocQueryResponseMissingParameters();  }