### Question:
DocumentEvent implements IDocumentEvent { public void setDocument( IDocument document ) { this.document = document; }  @Override IDocument getDocument(); void setDocument( IDocument document ); @Override String getEventType(); void setEventType( String type );  }### Answer:
@Test public void testSetDocument() { assertNotNull( document ); docEvent.setDocument( document ); assertNotNull( docEvent.getDocument() ); }