anchor.diff:  ''');
     }
   
  -  test_file_importedLibrary_down() async {
  +  test_file_imported_with_package_uri_up() async {
  +    var file = newFile('/home/test/lib/222/old_name.dart', content: '');
  +    addTestSource(r'''
  +import 'package:test/222/old_name.dart';
  +''');
  +
  +    // Since the file being refactored isn't the test source, we set the
  +    // testAnalysisResult manually here, the path is referenced through the
  +    // referenced File object to run on Windows:
  +    testAnalysisResult = await session.getResolvedUnit(file.path);
  +
  +    _createRefactoring('/home/test/lib/new_name.dart', oldFile: file.path);
  +    await _assertSuccessfulRefactoring();
  +
  +    assertFileChangeResult(testFile, '''
  +import 'package:test/new_name.dart';
  +''');
  +  }
  +
  +  test_file_imported_with_package_uri_sideways() async {
  +    var file = newFile('/home/test/lib/111/old_name.dart', content: '');
  +    addTestSource(r'''
  +import 'package:test/111/old_name.dart';
  +''');
  +
  +    // Since the file being refactored isn't the test source, we set the
  +    // testAnalysisResult manually here, the path is referenced through the
  +    // referenced File object to run on Windows:
  +    testAnalysisResult = await session.getResolvedUnit(file.path);
  +
  +    _createRefactoring('/home/test/lib/222/new_name.dart', oldFile: file.path);
  +    await _assertSuccessfulRefactoring();
  +
  +    assertFileChangeResult(testFile, '''
  +import 'package:test/222/new_name.dart';
  +''');
  +  }
  +
  +  test_file_relative_imported_down() async {
       String pathA = convertPath('/home/test/000/1111/a.dart');
       testFile = convertPath('/home/test/000/1111/test.dart');
       addSource(pathA, '''
  
positive.code:     assertNoFileChange(testFile);
    }
  
    test_file_importedLibrary_sideways() async {
      String pathA = convertPath('/home/test/000/1111/a.dart');
      testFile = convertPath('/home/test/000/1111/sub/folder/test.dart');
      addSource(pathA, '''
  
negative.code:     assertNoFileChange(testFile);
    }
  
    test_file_relative_imported_up() async {
      String pathA = convertPath('/home/test/000/1111/a.dart');
      testFile = convertPath('/home/test/000/1111/22/test.dart');
      addSource(pathA, '''
  