use of org.nhindirect.xd.transform.impl.DefaultXdmXdsTransformer in project nhin-d by DirectProject.
the class DefaultXdmXdsTransformerTest method testGetXDMRequest_File.
/**
* Test the getXDMRequest method.
*/
public void testGetXDMRequest_File() {
LOGGER.info("Begin testGetXDMRequest_File");
DefaultXdmXdsTransformer transformer = new DefaultXdmXdsTransformer();
File input = getSampleXdmAsFile();
ProvideAndRegisterDocumentSetRequestType output = null;
try {
output = transformer.transform(input);
assertTrue("Output is null", output != null);
} catch (Exception e) {
e.printStackTrace();
fail("Exception thrown");
}
}
Aggregations