SignalEventEssence trigger = new SignalEventEssence('[');
AutocompleteResult result = helper.autocompleter.htmlAutocompleter
.getExplicitAction(helper.editor.getSelection(), trigger, false)
.getExplicitAutocompletion();
assertTrue("result type", result instanceof DefaultAutocompleteResult);
DefaultAutocompleteResult defaultResult = (DefaultAutocompleteResult) result;
assertEquals("[]", defaultResult.getAutocompletionText());
trigger = new SignalEventEssence('(');
result = helper.autocompleter.htmlAutocompleter
.getExplicitAction(helper.editor.getSelection(), trigger, false)
.getExplicitAutocompletion();
assertTrue("result type", result instanceof DefaultAutocompleteResult);
defaultResult = (DefaultAutocompleteResult) result;
assertEquals("()", defaultResult.getAutocompletionText());
}