"}\n"
});
helper.setup(new PathUtil("test.css"), text, 1, 3, false);
SelectionModel selection = helper.editor.getSelection();
AutocompleteProposals completions = cssAutocompleter.findAutocompletions(selection, CTRL_SPACE);
assertEquals(1, completions.size());
AutocompleteResult commonResult = cssAutocompleter.computeAutocompletionResult(
completions.select(0));
assertTrue("result type", commonResult instanceof DefaultAutocompleteResult);
DefaultAutocompleteResult result = (DefaultAutocompleteResult) commonResult;
assertEquals(8, result.getJumpLength());
assertEquals("cursor: ;", result.getAutocompletionText());