@Test
void testEmptyParseExtensionDescriptorWithString() {

    InputStream descriptorStream = TestUtil.getResourceAsInputStream(DESCRIPTOR_EMPTY, getClass());
    try {
        parser.parseExtensionDescriptor(descriptorStream);
        fail("Expected exception");
    } catch (ContentException e) {
        assertEquals(Messages.ERROR_EMPTY_EXTENSION_DESCRIPTOR, e.getMessage());
    }
}