@Test
public void testCreateEntityReference() throws XMLStreamException {

	EntityReference event = factory.createEntityReference("foo", null);
	verify(event, XMLStreamConstants.ENTITY_REFERENCE, "&foo;");
}