anchor.diff:      expect(suggestion.description, contains(partialText));
       expect(suggestion.location.offset, offset);
       expect(suggestion.location.length, length);
  +  }
  +
  +  Future<EditDartfixResult> performFix() async {
  +    final request = new Request(
  +        '33', 'edit.dartfix', new EditDartfixParams([libPath]).toJson());
  +
  +    final response = await new EditDartFix(server, request).compute();
  +    expect(response.id, '33');
  +
  +    return EditDartfixResult.fromResponse(response);
     }
   
     @override
  
positive.code: class EditDartfixDomainHandlerTest extends AbstractAnalysisTest {
    String libPath;
  
    void expectSourceEdit(
        SourceEdit sourceEdit, String replacement, int offset, int length) {
      expect(sourceEdit.replacement, replacement);
      expect(sourceEdit.offset, offset);
      expect(sourceEdit.length, length);
    }
  
    void expectSuggestion(DartFixSuggestion suggestion, String partialText,
  
negative.code:     testFile = resourceProvider.convertPath('/project/lib/fileToBeFixed.dart');
    }
  
    test_dartfix_convertClassToMixin() async {
      addTestFile('''
  class A {}
  class B extends A {}
  class C with B {}
      ''');
      EditDartfixResult result = await performFix();
      expect(result.suggestions, hasLength(1));
      expectSuggestion(result.suggestions[0], 'mixin', 17, 1);
      expectEdits(result.edits, '''
  class A {}
  mixin B implements A {}
  class C with B {}
      ''');
    }
  
    test_dartfix_convertToIntLiteral() async {
      addTestFile('''
  const double myDouble = 42.0;
      ''');
      EditDartfixResult result = await performFix();
      expect(result.suggestions, hasLength(1));
      expectSuggestion(result.suggestions[0], 'int literal', 24, 4);
      expectEdits(result.edits, '''
  const double myDouble = 42;
      ''');
    }
  
    test_dartfix_moveTypeArgumentToClass() async {
      addTestFile('''
  class A<T> { A.from(Object obj) { } }
  main() {
    print(new A.from<String>([]));
  }
      ''');
      EditDartfixResult result = await performFix();
      expect(result.suggestions, hasLength(1));
      expectSuggestion(result.suggestions[0], 'type arguments', 65, 8);
      expectEdits(result.edits, '''
  class A<T> { A.from(Object obj) { } }
  main() {
    print(new A<String>.from([]));
  }
      ''');
    }
  }
  