@Test public void testCreateRetrieveDocumentSetRequest() { final List<DocumentRequest> docRequest = new ArrayList(); final DocumentRequest documentRequest = mock(DocumentRequest.class); final DocumentRequest documentRequest2 = mock(DocumentRequest.class); docRequest.add(documentRequest); docRequest.add(documentRequest2); final RetrieveDocumentSetRequest requestExpected = new RetrieveDocumentSetRequest(); requestExpected.getDocumentRequest().addAll(docRequest); final RetrieveDocumentSetRequest requestActual = xdsbRepositoryAdapterSpy .createRetrieveDocumentSetRequest(docRequest); assertEquals(requestExpected.getDocumentRequest(), requestActual.getDocumentRequest()); }
RetrieveDocumentSetRequest createRetrieveDocumentSetRequest( DocumentRequest docRequest) { final RetrieveDocumentSetRequest request = new RetrieveDocumentSetRequest(); request.getDocumentRequest().add(docRequest); return request; }
XdsbRepositoryAdapter { RetrieveDocumentSetRequest createRetrieveDocumentSetRequest( DocumentRequest docRequest) { final RetrieveDocumentSetRequest request = new RetrieveDocumentSetRequest(); request.getDocumentRequest().add(docRequest); return request; } }
XdsbRepositoryAdapter { RetrieveDocumentSetRequest createRetrieveDocumentSetRequest( DocumentRequest docRequest) { final RetrieveDocumentSetRequest request = new RetrieveDocumentSetRequest(); request.getDocumentRequest().add(docRequest); return request; } XdsbRepositoryAdapter();  XdsbRepositoryAdapter(XDSRepositorybWebServiceClient xdsbRepository,
			SimpleMarshaller marshaller,
			RetrieveDocumentSetResponseFilter responseFilter,
			XmlTransformer xmlTransformer); }
XdsbRepositoryAdapter { RetrieveDocumentSetRequest createRetrieveDocumentSetRequest( DocumentRequest docRequest) { final RetrieveDocumentSetRequest request = new RetrieveDocumentSetRequest(); request.getDocumentRequest().add(docRequest); return request; } XdsbRepositoryAdapter();  XdsbRepositoryAdapter(XDSRepositorybWebServiceClient xdsbRepository,
			SimpleMarshaller marshaller,
			RetrieveDocumentSetResponseFilter responseFilter,
			XmlTransformer xmlTransformer); RegistryResponse provideAndRegisterDocumentSet(
			ProvideAndRegisterDocumentSetRequest provideAndRegisterDocumentSetRequest); @Deprecated RegistryResponse provideAndRegisterDocumentSet(
			String documentXmlString, String homeCommunityId,
			XdsbDocumentType documentTypeForXdsbMetadata,
			String patientUniqueId, String entryUUID); RegistryResponse provideAndRegisterDocumentSet(
			String documentXmlString,
			XdsbDocumentType documentTypeForXdsbMetadata, Params params); RetrieveDocumentSetResponse retrieveDocumentSet(
			DocumentRequest docRequest); RetrieveDocumentSetResponse retrieveDocumentSet(
			List<DocumentRequest> docRequest); RetrieveDocumentSetResponse retrieveDocumentSet(
			RetrieveDocumentSetRequest request); RetrieveDocumentSetResponse retrieveDocumentSet(
			RetrieveDocumentSetRequest request, String patientId,
			String authorNPI); RetrieveDocumentSetResponse retrieveDocumentSet(
			String documentUniqueId, String repositoryId); }
XdsbRepositoryAdapter { RetrieveDocumentSetRequest createRetrieveDocumentSetRequest( DocumentRequest docRequest) { final RetrieveDocumentSetRequest request = new RetrieveDocumentSetRequest(); request.getDocumentRequest().add(docRequest); return request; } XdsbRepositoryAdapter();  XdsbRepositoryAdapter(XDSRepositorybWebServiceClient xdsbRepository,
			SimpleMarshaller marshaller,
			RetrieveDocumentSetResponseFilter responseFilter,
			XmlTransformer xmlTransformer); RegistryResponse provideAndRegisterDocumentSet(
			ProvideAndRegisterDocumentSetRequest provideAndRegisterDocumentSetRequest); @Deprecated RegistryResponse provideAndRegisterDocumentSet(
			String documentXmlString, String homeCommunityId,
			XdsbDocumentType documentTypeForXdsbMetadata,
			String patientUniqueId, String entryUUID); RegistryResponse provideAndRegisterDocumentSet(
			String documentXmlString,
			XdsbDocumentType documentTypeForXdsbMetadata, Params params); RetrieveDocumentSetResponse retrieveDocumentSet(
			DocumentRequest docRequest); RetrieveDocumentSetResponse retrieveDocumentSet(
			List<DocumentRequest> docRequest); RetrieveDocumentSetResponse retrieveDocumentSet(
			RetrieveDocumentSetRequest request); RetrieveDocumentSetResponse retrieveDocumentSet(
			RetrieveDocumentSetRequest request, String patientId,
			String authorNPI); RetrieveDocumentSetResponse retrieveDocumentSet(
			String documentUniqueId, String repositoryId); static final String EMPTY_XML_DOCUMENT; }