@Test
public void testIdUsed() throws Exception {

    ModelNode schema = json("{\"type\": \"boolean\"}");
    ModelNode json = json("true");
    PlexusConfiguration config = SchemaDrivenJSONToXmlConverter.convert(json, schema, "tag", "id");
    assertNotNull(config);
    assertEquals("tag", config.getName());
    assertEquals("id", config.getAttribute("id"));
    assertEquals(0, config.getChildCount());
    assertEquals("true", config.getValue());
}