@Test
public void testStartEndElement() throws XMLStreamException {

	XMLEventReader reader = createXmlEventReader("<alice/>", ACCEPT_ALL);
	Assert.assertEquals(XMLStreamConstants.START_ELEMENT, reader.nextEvent().getEventType());
	Assert.assertEquals(XMLStreamConstants.END_ELEMENT, reader.nextEvent().getEventType());
	reader = createXmlEventReader("<alice></alice>", ACCEPT_ALL);
	Assert.assertEquals(XMLStreamConstants.START_ELEMENT, reader.nextEvent().getEventType());
	Assert.assertEquals(XMLStreamConstants.END_ELEMENT, reader.nextEvent().getEventType());
}