assertEquals(originalDocumentBListenerCount+3, documentB.getDocumentListeners().length);
textMatcher = (TextMatcher) textMatcherEditor.getMatcher();
assertEquals("documentB", textMatcher.getSearchTerms()[0].getText());
// changing the text in DocumentB should alter the filter
documentB.replace(0, documentB.getLength(), "blah", null);
textMatcher = (TextMatcher) textMatcherEditor.getMatcher();
assertEquals("blah", textMatcher.getSearchTerms()[0].getText());
}
public void guiTestListeners() {