@Test
public void testNumberConversion_valid() throws Exception {

    ModelNode schema = json("{\"type\": \"number\"}");
    ModelNode json = json("1.2");
    PlexusConfiguration config = SchemaDrivenJSONToXmlConverter.convert(json, schema, "tag", null);
    assertNotNull(config);
    assertEquals("tag", config.getName());
    assertEquals(0, config.getChildCount());
    assertEquals("1.2", config.getValue());
}