public void testReferencesToElementsOfNthImplicitCollectionIsPossible() {
xstream.alias("strings", WithNamedList.class);
xstream.addImplicitCollection(WithNamedList.class, "things");
WithNamedList[] wls = new WithNamedList[]{
new WithNamedList("foo"), new WithNamedList("bar"), new WithNamedList("foobar")};
wls[1].things.add("Hello");
wls[1].things.add("Daniel");
wls[2].things.add(wls[1]);
String xml = xstream.toXML(wls);