@Test
public void testBooleanConversion_true() throws Exception {

    XmlToJson<Node> converter = converter("ext", "{\"type\": \"boolean\"}");
    Node xml = xml("<config><ext id='1'>true</ext></config>");
    ModelNode extConf = converter.convert(xml).get(0);
    Assert.assertEquals("1", extConf.get("id").asString());
    ModelNode config = extConf.get("configuration");
    Assert.assertEquals(ModelType.BOOLEAN, config.getType());
    Assert.assertTrue(config.asBoolean());
}