@Test
public void testComment() throws XMLStreamException {

	XMLStreamReader reader = createXmlStreamReader("<!-- james -->");
	Comment comment = (Comment)eventAllocator.allocate(reader);
	verify(comment, XMLStreamConstants.COMMENT, "<!-- james -->");
	Assert.assertEquals(" james ", comment.getText());
}