@Test
public void testStartEndElement() throws XMLStreamException {

	StringWriter stringWriter = new StringWriter();
	createXmlEventWriter(stringWriter).add(createXmlEventReader("<alice/>"));
	Assert.assertEquals("<alice></alice>", stringWriter.toString());
	stringWriter = new StringWriter();
	createXmlEventWriter(stringWriter).add(createXmlEventReader("<alice></alice>"));
	Assert.assertEquals("<alice></alice>", stringWriter.toString());
}