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

    XmlToJson<Node> converter = converter("ext", "{\"enum\": [{}]}");
    Node xml = xml("<config><ext>a</ext></config>");
    converter.convert(xml);
}