@Test
public void testWriteEmptyElement0() throws XMLStreamException {

	XMLStreamWriter writer = createXMLStreamWriter(false);
	writer.writeEmptyElement("foo");
	writer.flush();
	Assert.assertEquals("<foo", writer.toString());
}