remove orphan R4B test

This commit is contained in:
Grahame Grieve 2023-11-24 12:06:29 +11:00
parent 36361eaa1d
commit 82f0fc953a
1 changed files with 0 additions and 18 deletions

View File

@ -44,22 +44,4 @@ public class XmlParserTests {
}
}
@Test
/**
* Deserializes a simplified CDA example into the logical model and checks that
* xml deserialization works for the xsi:type
*
* @throws IOException
*/
public void testXsiDeserialiserXmlParser() throws IOException {
Element cda = Manager.parseSingle(context,
TestingUtilities.loadTestResourceStream("validator", "cda", "example-xsi.xml"), FhirFormat.XML);
ByteArrayOutputStream baosXml = new ByteArrayOutputStream();
Manager.compose(context, cda, baosXml, FhirFormat.XML, OutputStyle.PRETTY, null);
String cdaSerialised = baosXml.toString();
Assertions.assertTrue(cdaSerialised.indexOf("xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"") > 0);
Assertions.assertTrue(cdaSerialised.indexOf("xsi:type=\"CD\"") > 0);
}
}