@Test(expected=ValidationException.class)
public final void validateCDAError() throws Exception {

    LOG.info("Validating erroneous plain CDA document");
    InputStream is = getClass().getResourceAsStream(
        "/builders/content/document/InvalidCDADocument.xml");
    ClinicalDocument cda = CDAUtil.load(is);
    validator.validate(cda, null);
    // TODO check expected validation errors
}