@Test
void testMissingSchemaParseDeploymentDescriptorWithStream() {

    InputStream descriptorStream = TestUtil.getResourceAsInputStream(DESCRIPTOR_MISSING_SCHEMA, getClass());
    try {
        parser.parseDeploymentDescriptor(descriptorStream);
        fail("Expected exception");
    } catch (ContentException e) {
        assertEquals(MessageFormat.format(Messages.MISSING_REQUIRED_KEY, SCHEMA_VERSION_KEY), e.getMessage());
    }
}