Search in sources :

Example 1 with RetrieveDocumentSetResponseTransformer

use of org.openehealth.ipf.commons.ihe.xds.core.transform.responses.RetrieveDocumentSetResponseTransformer in project ipf by oehf.

the class RetrieveDocumentSetResponseTransformerTest method setUp.

@BeforeEach
public void setUp() throws Exception {
    EbXMLFactory factory = new EbXMLFactory30();
    transformer = new RetrieveDocumentSetResponseTransformer(factory);
    response = SampleData.createRetrievedDocumentSet();
    dataHandler1 = response.getDocuments().get(0).getDataHandler();
    dataHandler2 = response.getDocuments().get(1).getDataHandler();
}
Also used : EbXMLFactory30(org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLFactory30) RetrieveDocumentSetResponseTransformer(org.openehealth.ipf.commons.ihe.xds.core.transform.responses.RetrieveDocumentSetResponseTransformer) EbXMLFactory(org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLFactory) BeforeEach(org.junit.jupiter.api.BeforeEach)

Example 2 with RetrieveDocumentSetResponseTransformer

use of org.openehealth.ipf.commons.ihe.xds.core.transform.responses.RetrieveDocumentSetResponseTransformer in project ipf by oehf.

the class RetrieveDocumentResponseValidatorTest method setUp.

@BeforeEach
public void setUp() {
    validator = new RetrieveDocumentSetResponseValidator();
    EbXMLFactory factory = new EbXMLFactory30();
    transformer = new RetrieveDocumentSetResponseTransformer(factory);
    response = SampleData.createRetrievedDocumentSet();
}
Also used : EbXMLFactory30(org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLFactory30) RetrieveDocumentSetResponseTransformer(org.openehealth.ipf.commons.ihe.xds.core.transform.responses.RetrieveDocumentSetResponseTransformer) EbXMLFactory(org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLFactory) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

BeforeEach (org.junit.jupiter.api.BeforeEach)2 EbXMLFactory (org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLFactory)2 EbXMLFactory30 (org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLFactory30)2 RetrieveDocumentSetResponseTransformer (org.openehealth.ipf.commons.ihe.xds.core.transform.responses.RetrieveDocumentSetResponseTransformer)2