assertEquals("world", childA.getChildStuff().get("hello"));
assertEquals("foo", childA.getParentStuff().iterator().next());
}
public void testCanWriteInheritanceHierarchiesInOldOrder() {
xstream = new XStream(new PureJavaReflectionProvider(new FieldDictionary(new XStream12FieldKeySorter())));
OpenSourceSoftware openSourceSoftware = new OpenSourceSoftware("apache", "geronimo", "license");
String xml =
"<oss>\n" +
" <license>license</license>\n" +
" <vendor>apache</vendor>\n" +