@Test
public void testStartEndDocument() throws XMLStreamException {

	StringWriter stringWriter = new StringWriter();
	String xml = "<?xml version=\"1.0\"?>";
	createXmlEventWriter(stringWriter).add(createXmlEventReader(xml));
	Assert.assertEquals(xml, stringWriter.toString());
}