assertEquals("html", tokens.get(0).getMode());
assertEquals("css", tokens.get(tokens.size() - 1).getMode());
helper.autocompleter.htmlAutocompleter.updateModeAnchors(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("{\n \n}", defaultResult.getAutocompletionText());