anchor.diff:      return segments.length > 1 && segments.first == 'src';
     });
   
  -  var context = await getAnalysisContextForProjectPath(packageRootPath, items);
  +  var context = await _getAnalysisContextForProjectPath(
  +      _dotPackagesPath, _packageRootPath, items);
   
     var uriSources = new SplayTreeMap<Uri, Source>(_uriComparer);
     var libElements = new SplayTreeMap<String, LibraryElement>();
  
positive.code:       PhysicalResourceProvider.INSTANCE, packageMap);
  }
  
  LibraryElement getLibraryElementForSourceFile(
      AnalysisContext context, String sourcePath) {
    Source source = new FileBasedSource(new JavaFile(sourcePath));
  
    var libs = context.getLibrariesContaining(source);
  
    if (libs.length > 1) {
      throw new Exception("We don't support multiple libraries for a source.");
    }
  
    if (libs.isEmpty) {
      return null;
    }
  
    var libSource = libs.single;
  
    // using `getLibraryElement` because the library should already be computed
    // If not, it's a bug in usage
    return context.getLibraryElement(libSource);
  }
  
  // may return `null` if [path] doesn't refer to a library.
  /// [dartFiles] is an [Iterable] of paths to [.dart] files.
  Iterable<LibraryElement> _getLibraryElements(
  
negative.code: 
  import 'package:test/test.dart';
  
  final Uri _thisFileUri =
      (m.reflect(getLibraries) as m.ClosureMirror).function.location.sourceUri;
  
  /// This is the path to the root of the `angular` package.
  ///
  /// The call to `resolve` navigates relative to **this** file.
  final String _dotPackagesPath =
      _thisFileUri.resolve('../.packages').toFilePath();
  
  /// This is the path to the root of the `angular` package.
  ///
  /// The call to `resolve` navigates relative to **this** file.
  final String _packageRootPath =
      _thisFileUri.resolve('../../angular').toFilePath();
  
  int _uriComparer(Uri a, Uri b) => a.toString().compareTo(b.toString());
  
  