public void testDismissAutocompleteBox() {
helper.specificAutocompleter = new StubAutocompleter();
MockAutocompleter autocompleter = helper.setup(path, "a", 0, 1, false);
autocompleter.requestAutocomplete(autocompleter.getController(), null);
assertTrue("expected: popup appeared", helper.popup.isShowing());
autocompleter.dismissAutocompleteBox();
assertFalse("expected: popup disappeared", helper.popup.isShowing());
}
public void testDoAutocomplete() {
helper.specificAutocompleter = new StubAutocompleter();