@Test
public void testGetElementText() throws XMLStreamException {

	XMLEventReader reader = createXmlEventReader("<alice david=\"edgar\">bob</alice>", ACCEPT_ALL);
	reader.next();
	Assert.assertEquals("bob", reader.getElementText());
	reader = createXmlEventReader("<alice david=\"edgar\">bob</alice>", ACCEPT_ALL);
	reader.next();
	reader.peek();
	Assert.assertEquals("bob", reader.getElementText());
}