@Test public void testProvideAndRegisterDocumentSetRequest_Given_ProvideAndRegisterDocumentSetRequest() { final ProvideAndRegisterDocumentSetRequest provideAndRegisterDocumentSetRequest = new ProvideAndRegisterDocumentSetRequest(); final RegistryResponse registryResponse = new RegistryResponse(); when( xdsbRepositoryMock .provideAndRegisterDocumentSet(provideAndRegisterDocumentSetRequest)) .thenReturn(registryResponse); final RegistryResponse actualRegistryResponse = xdsbRepositoryAdapterSpy .provideAndRegisterDocumentSet(provideAndRegisterDocumentSetRequest); assertEquals(registryResponse, actualRegistryResponse); }
public RegistryResponse provideAndRegisterDocumentSet( ProvideAndRegisterDocumentSetRequest provideAndRegisterDocumentSetRequest) { return xdsbRepository .provideAndRegisterDocumentSet(provideAndRegisterDocumentSetRequest); }
XdsbRepositoryAdapter { public RegistryResponse provideAndRegisterDocumentSet( ProvideAndRegisterDocumentSetRequest provideAndRegisterDocumentSetRequest) { return xdsbRepository .provideAndRegisterDocumentSet(provideAndRegisterDocumentSetRequest); } }
XdsbRepositoryAdapter { public RegistryResponse provideAndRegisterDocumentSet( ProvideAndRegisterDocumentSetRequest provideAndRegisterDocumentSetRequest) { return xdsbRepository .provideAndRegisterDocumentSet(provideAndRegisterDocumentSetRequest); } XdsbRepositoryAdapter();  XdsbRepositoryAdapter(XDSRepositorybWebServiceClient xdsbRepository,
			SimpleMarshaller marshaller,
			RetrieveDocumentSetResponseFilter responseFilter,
			XmlTransformer xmlTransformer); }
XdsbRepositoryAdapter { public RegistryResponse provideAndRegisterDocumentSet( ProvideAndRegisterDocumentSetRequest provideAndRegisterDocumentSetRequest) { return xdsbRepository .provideAndRegisterDocumentSet(provideAndRegisterDocumentSetRequest); } 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 RegistryResponse provideAndRegisterDocumentSet( ProvideAndRegisterDocumentSetRequest provideAndRegisterDocumentSetRequest) { return xdsbRepository .provideAndRegisterDocumentSet(provideAndRegisterDocumentSetRequest); } 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; }