for (BibtexEntry entry : getDatabse().getEntries()) {
autoCompleter.addBibtexEntry(entry);
}
assertEquals("authentication", autoCompleter.complete("authentication")[0]);
assertEquals(1, autoCompleter.complete("authentication").length);
assertEquals("authentication", autoCompleter.complete("aut")[0]);
assertEquals(1, autoCompleter.complete("aut").length);
assertEquals("context", autoCompleter.complete("con")[0]);
assertEquals(1, autoCompleter.complete("con").length);
assertEquals(0, autoCompleter.complete("osta").length);
assertEquals(0, autoCompleter.complete("osta").length);