@Test
public void testStringConversion() throws Exception {

    XmlToJson<Node> converter = converter("ext", "{\"type\": \"string\"}");
    Node xml = xml("<config><ext>1.2</ext></config>");
    ModelNode config = converter.convert(xml).get(0).get("configuration");
    Assert.assertNotNull(config);
    Assert.assertEquals(ModelType.STRING, config.getType());
    Assert.assertEquals("1.2", config.asString());
}