### Question:
ImageEvent extends DocumentBuilderEvent { @Override public String toString() { return String.format("image(%s)", url); } ImageEvent(Attributes attributes, String url); @Override void invoke(DocumentBuilder builder); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }### Answer:
@Test public void testToString() { assertEquals("image(http: new ImageEvent(new Attributes(), "http: }