### Question:
CharactersEvent extends DocumentBuilderEvent { @Override public String toString() { return String.format("characters(\"%s\")", text); } CharactersEvent(String text); @Override void invoke(DocumentBuilder builder); String getText(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }### Answer:
@Test public void testToString() { assertEquals("characters(\"test it\")", new CharactersEvent("test it").toString()); }