@Test public void testretrieveDocumentSet() throws XdsbRepositoryAdapterException { final RetrieveDocumentSetRequest request = mock(RetrieveDocumentSetRequest.class); final RetrieveDocumentSetResponse response = new RetrieveDocumentSetResponse(); when(xdsbRepositoryMock.retrieveDocumentSet(request)).thenReturn( response); when(responseFilterMock.filterByPatientAndAuthor(response, "1", "123")) .thenReturn(response); final RetrieveDocumentSetResponse responseActual = xdsbRepositoryAdapterSpy .retrieveDocumentSet(request, "1", "123"); assertEquals(response, responseActual); }
public RetrieveDocumentSetResponse retrieveDocumentSet( DocumentRequest docRequest) { final RetrieveDocumentSetRequest request = createRetrieveDocumentSetRequest(docRequest); final RetrieveDocumentSetResponse retrieveDocumentSetResponse = retrieveDocumentSet(request); return retrieveDocumentSetResponse; }
XdsbRepositoryAdapter { public RetrieveDocumentSetResponse retrieveDocumentSet( DocumentRequest docRequest) { final RetrieveDocumentSetRequest request = createRetrieveDocumentSetRequest(docRequest); final RetrieveDocumentSetResponse retrieveDocumentSetResponse = retrieveDocumentSet(request); return retrieveDocumentSetResponse; } }
XdsbRepositoryAdapter { public RetrieveDocumentSetResponse retrieveDocumentSet( DocumentRequest docRequest) { final RetrieveDocumentSetRequest request = createRetrieveDocumentSetRequest(docRequest); final RetrieveDocumentSetResponse retrieveDocumentSetResponse = retrieveDocumentSet(request); return retrieveDocumentSetResponse; } XdsbRepositoryAdapter();  XdsbRepositoryAdapter(XDSRepositorybWebServiceClient xdsbRepository,
			SimpleMarshaller marshaller,
			RetrieveDocumentSetResponseFilter responseFilter,
			XmlTransformer xmlTransformer); }
XdsbRepositoryAdapter { public RetrieveDocumentSetResponse retrieveDocumentSet( DocumentRequest docRequest) { final RetrieveDocumentSetRequest request = createRetrieveDocumentSetRequest(docRequest); final RetrieveDocumentSetResponse retrieveDocumentSetResponse = retrieveDocumentSet(request); return retrieveDocumentSetResponse; } 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 { public RetrieveDocumentSetResponse retrieveDocumentSet( DocumentRequest docRequest) { final RetrieveDocumentSetRequest request = createRetrieveDocumentSetRequest(docRequest); final RetrieveDocumentSetResponse retrieveDocumentSetResponse = retrieveDocumentSet(request); return retrieveDocumentSetResponse; } 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; }