anchor.diff:        expect(element.typeParameters, isNull);
         {
           plugin.Location location = element.location;
  -        expect(location.file, '/test.dart');
  +        expect(location.file, testFile);
           expect(location.offset, 27);
           expect(location.length, '_A'.length);
           expect(location.startLine, 2);
  
positive.code:       expect(element.name, 'index');
        {
          plugin.Location location = element.location;
          expect(location.file, '/test.dart');
          expect(location.offset, -1);
          expect(location.length, 'index'.length);
          expect(location.startLine, 1);
  
negative.code:     expect(element.name, 'mySetter');
      {
        plugin.Location location = element.location;
        expect(location.file, testFile);
        expect(location.offset, 16);
        expect(location.length, 'mySetter'.length);
        expect(location.startLine, 2);
  