### Question:
CharactersEvent extends DocumentBuilderEvent { public String getText() { return 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 getText() { assertEquals("the value", new CharactersEvent("the value").getText()); }