anchor.diff:  }
   
   @reflectiveTest
  -class PreviewSiteTest {
  +class PreviewSiteTest with ResourceProviderMixin {
     PreviewSite site;
  -  MemoryResourceProvider resourceProvider;
     DartFixListener dartfixListener;
     MigrationState state;
  -
  -  File getFile(String path) =>
  -      resourceProvider.getFile(resourceProvider.convertPath(path));
   
     void setUp() {
       dartfixListener = DartFixListener(null);
  
positive.code:   }
  
    void test_applyChangesEmpty() {
      getFile('/test.dart').writeAsStringSync('void main() {}');
      site.performApply();
      expect(getFile('/test.dart').readAsStringSync(), 'void main() {}');
      expect(state.hasBeenApplied, true);
    }
  
  
negative.code:   }
  
    void test_applyMultipleChanges() {
      final path = convertPath('/test.dart');
      final file = getFile(path);
      file.writeAsStringSync('void main() {}');
      dartfixListener.addSourceChange(
          'test change',
          Location(path, 10, 0, 1, 10),
          SourceChange('test change', edits: [
            SourceFileEdit(path, 0, edits: [
              SourceEdit(10, 0, 'List args'),
              SourceEdit(13, 0, '\n  print(args);\n')
            ])
          ]));
      site.performApply();
      expect(file.readAsStringSync(), '''
  void main(List args) {
    print(args);
  }''');
  