+ "<CHILD><NAME>Poseidon</NAME></CHILD>"
+ "<CHILD><NAME>Zeus</NAME></CHILD>"
+ "</CHILDREN></DOUBLE_LINKED_PARENT_BEAN>";
BeanReader reader = new BeanReader();
reader.getXMLIntrospector().getConfiguration().setElementNameMapper(new HyphenatedNameMapper(true, "_"));
reader.registerBeanClass(DoubleLinkedParentBean.class);
DoubleLinkedParentBean bean = (DoubleLinkedParentBean) reader.parse(new StringReader(xml));
assertNotNull("Bean read", bean);
assertEquals("Cronus", "Parent name", bean.getName());