@Test(expected = IllegalArgumentException.class)
public void testNumberConversion_invalid() throws Exception {

    XmlToJson<Node> converter = converter("ext", "{\"type\": \"number\"}");
    Node xml = xml("<config><ext>some</ext></config>");
    converter.convert(xml);
}