@Test
public void testStartEndDocument() throws XMLStreamException {

	XMLEventReader reader = createXmlEventReader("<? xml version=\"1.0\" ?>", ACCEPT_ALL);
	Assert.assertEquals(XMLStreamConstants.START_DOCUMENT, reader.nextEvent().getEventType());
	Assert.assertEquals(XMLStreamConstants.END_DOCUMENT, reader.nextEvent().getEventType());
}