@Test
public void testExtraRequirementId() throws Exception {

    Xpp3Dom dom = createConfigurationDom("type", "versionRange");
    try {
        configurationReader.readExtraRequirements(new TargetPlatformConfiguration(), dom);
        fail();
    } catch (BuildFailureException e) {
        assertTrue(e.getMessage().contains("Element <id> is missing in <extraRequirements><requirement> section."));
    }
}