@Test
public void testAllOf() throws Exception {

    ModelNode schema = json("{\"allOf\": [{\"type\": \"integer\"}, {\"type\": \"number\"}]}");
    ModelNode json = json("1");
    PlexusConfiguration c = SchemaDrivenJSONToXmlConverter.convert(json, schema, "ext", null);
    assertNotNull(c);
    assertEquals("ext", c.getName());
    assertEquals(0, c.getChildCount());
    assertEquals("1", c.getValue());
}