### Question:
AcronymEvent extends DocumentBuilderEvent { @Override public String toString() { return String.format("acronym(%s,%s)", text, definition); } AcronymEvent(String text, String definition); @Override void invoke(DocumentBuilder builder); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test public void testToString() { assertEquals("acronym(one,two)", new AcronymEvent("one", "two").toString()); }