public void testEntryEditorForNameFieldAutoCompleter() {
// construct an EntryEditor ...
JabRef jabref = TestUtils.getInitializedJabRef();
BibtexEntry bibtexEntry = new BibtexEntry();
bibtexEntry.setField("author", "Brigitte Laurant");
FieldEditor authorTextField = new FieldTextArea("author", "Hans Meiser");
EntryEditor editor = new EntryEditor(jabref.jrf, jabref.jrf.basePanel(), bibtexEntry);
// perform action ...
editor.storeFieldAction.actionPerformed(new ActionEvent(authorTextField, 0, ""));
// test content of stored words in autocompleter ...
AbstractAutoCompleter autoCompleter = jabref.jrf.basePanel().getAutoCompleter("author");