anchor.diff:    test_suggestions() {
       addTestFile('''
         import 'dart:html';
  -      main() {}
  +      main() {^}
       ''');
  -    return getSuggestions('}', 0).then((_) {
  +    return getSuggestions().then((_) {
         assertHasResult('Object');
         assertHasResult('HtmlElement');
       });
  
positive.code: @ReflectiveTestCase()
  class CompletionTest extends AbstractAnalysisTest {
    String completionId;
    List<CompletionSuggestion> suggestions = [];
    bool suggestionsDone = false;
  
    void assertHasResult(String completion) {
      var cs = suggestions.firstWhere((cs) => cs.completion == completion, orElse: () {
  
negative.code:     return createLocalMemoryIndex();
    }
  
    Future getSuggestions() {
      return waitForTasksFinished().then((_) {
        Request request = new Request('0', COMPLETION_GET_SUGGESTIONS);
        request.setParameter(FILE, testFile);
        request.setParameter(OFFSET, completionOffset);
        Response response = handleSuccessfulRequest(request);
        completionId = response.getResult(ID);
        assertValidId(completionId);
  