@Test
public void testPeek() throws XMLStreamException {

	XMLEventReader reader = createXmlEventReader("<?xml version=\"1.0\"?><alice david=\"edgar\">bob</alice>", ACCEPT_ALL);
	while (reader.hasNext()) {
		Assert.assertEquals(reader.peek(), reader.nextEvent());
	}
}