private final TestUtil util = new TestUtil(this);
@Test
public void testChewDocument() throws Exception {
XStream xs = new XStream();
xs.autodetectAnnotations(true);
XStreamMarshaller marshaller = new XStreamMarshaller(xs);
XReferenceStore store = new FileXReferenceStore(marshaller, util.resolveFile("target/test-xref"));
XReferenceStoreConverter converter = new XReferenceStoreConverter(store, xs.getMapper(), xs.getReflectionProvider());
xs.registerConverter(converter);