TaggableLine previousLine = TaggableLineUtil.getPreviousLine(line);
helper.autocompleter.htmlAutocompleter.updateModeAnchors(line, tokens);
new ParsingTask(helper.autocompleter.localPrefixIndexStorage).onParseLine(
previousLine, line, tokens);
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;