public void testJAXBHandled() throws Exception {
JAXBSynchronizer sync = new JAXBSynchronizer();
Set<Synchronizer<?, ?>>syncs = this.<Synchronizer<?, ?>> asSet(sync);
InputStream export = new ExportingInputStream(syncs, new HashMap<String, ExporterMessages>(), 1024, false);
String exportContents = readAll(new InputStreamReader(export, "UTF-8"));
XMLStreamReader rdr = XMLInputFactory.newInstance().createXMLStreamReader(
new ByteArrayInputStream(exportContents.getBytes(Charset.forName("UTF-8"))));