anchor.diff:    }
   
     test_getParsedLibrary_invalidPath_notAbsolute() async {
  +    var session = contextFor(testFilePath).currentSession;
       var result = session.getParsedLibrary('not_absolute.dart');
       expect(result, isA<InvalidPathResult>());
     }
   
     test_getParsedLibrary_notLibrary() async {
  -    newFile(testPath, content: 'part of "a.dart";');
  -    expect(session.getParsedLibrary(testPath), isA<NotLibraryButPartResult>());
  +    var test = newFile(testFilePath, content: 'part of "a.dart";');
  +    var session = contextFor(testFilePath).currentSession;
  +    expect(session.getParsedLibrary(test.path), isA<NotLibraryButPartResult>());
     }
   
     test_getParsedLibrary_parts() async {
  -    var a = convertPath('/home/test/lib/a.dart');
  -    var b = convertPath('/home/test/lib/b.dart');
  -    var c = convertPath('/home/test/lib/c.dart');
  -
       var aContent = r'''
   part 'b.dart';
   part 'c.dart';
  
positive.code:   }
  
    test_getResolvedLibrary_invalidPartUri() async {
      newFile(testPath, content: r'''
  part 'a.dart';
  part ':[invalid uri].dart';
  part 'c.dart';
  ''');
  
      var resolvedLibrary = await session.getResolvedLibraryValid(testPath);
  
      expect(resolvedLibrary.units, hasLength(3));
      expect(
  
negative.code: 
      {
        var unit = parsedLibrary.units[0];
        expect(unit.path, test.path);
        expect(unit.uri, Uri.parse('package:test/test.dart'));
        expect(unit.unit, isNotNull);
      }
    }
  
    test_getParsedLibraryByElement_differentSession() async {
      newFile(testFilePath, content: '');
  
      var session = contextFor(testFilePath).currentSession;
      var libraryResult = await session.getLibraryByUriValid(
        'package:test/test.dart',
      );
      var element = libraryResult.element;
  
      var aaaSession = contextFor('$workspaceRootPath/aaa').currentSession;
  
      var result = aaaSession.getParsedLibraryByElement(element);
      expect(result, isA<NotElementOfThisSessionResult>());
    }
  
    test_getParsedUnit() async {
      var test = newFile(testFilePath, content: r'''
  class A {}
  class B {}
  ''');
  
      var session = contextFor(testFilePath).currentSession;
      var unitResult = session.getParsedUnitValid(test.path);
      expect(unitResult.session, session);
      expect(unitResult.path, test.path);
      expect(unitResult.uri, Uri.parse('package:test/test.dart'));
      expect(unitResult.unit.declarations, hasLength(2));
    }
  
    test_getParsedUnit_invalidPath_notAbsolute() async {
      var session = contextFor(testFilePath).currentSession;
      var result = session.getParsedUnit('not_absolute.dart');
      expect(result, isA<InvalidPathResult>());
    }
  
    test_getResolvedLibrary() async {
      var aContent = r'''
  part 'b.dart';
  
  class A /*a*/ {}
  ''';
      var a = newFile('$testPackageLibPath/a.dart', content: aContent);
  
      var bContent = r'''
  part of 'a.dart';
  