anchor.diff:  import 'package:analyzer/src/generated/source.dart';
   import 'package:analyzer/src/summary/format.dart';
   import 'package:analyzer/src/summary/idl.dart';
  +import 'package:analyzer/src/summary/link.dart';
   import 'package:analyzer/src/summary/prelink.dart';
   import 'package:analyzer/src/summary/resynthesize.dart';
   import 'package:analyzer/src/summary/summarize_ast.dart';
  
positive.code: import '../context/abstract_context.dart';
  import '../task/strong/inferred_type_test.dart';
  import 'resynthesize_test.dart';
  
  main() {
    groupSep = ' | ';
  
negative.code:         new PackageBundle.fromBuffer(bundleAssembler.assemble().toBuffer());
  
      Map<String, UnlinkedUnit> unlinkedSummaries = <String, UnlinkedUnit>{};
      for (int i = 0; i < bundle.unlinkedUnitUris.length; i++) {
        String uri = bundle.unlinkedUnitUris[i];
        unlinkedSummaries[uri] = bundle.unlinkedUnits[i];
      }
  
      LinkedLibrary getDependency(String absoluteUri) {
        Map<String, LinkedLibrary> sdkLibraries =
            SerializedMockSdk.instance.uriToLinkedLibrary;
        // TODO(scheglov) Add support non-SDK linked libraries.
        LinkedLibrary linkedLibrary = sdkLibraries[absoluteUri];
        if (linkedLibrary == null) {
          fail('Linker unexpectedly requested LinkedLibrary for "$absoluteUri".'
              '  Libraries available: ${sdkLibraries.keys}');
        }
        return linkedLibrary;
      }
      UnlinkedUnit getUnit(String absoluteUri) {
        UnlinkedUnit unit = uriToUnit[absoluteUri] ??
            SerializedMockSdk.instance.uriToUnlinkedUnit[absoluteUri];
        if (unit == null) {
          fail('Linker unexpectedly requested unit for "$absoluteUri".');
        }
        return unit;
      }
      Map<String, LinkedLibrary> linkedSummaries = link(uriToUnit.keys.toSet(),
          getDependency, getUnit, context.analysisOptions.strongMode);
  
      return new TestSummaryResynthesizer(
          null, context, unlinkedSummaries, linkedSummaries);
    }
  
    UnlinkedUnitBuilder _getUnlinkedUnit(Source source) {
      return uriToUnit.putIfAbsent(source.uri.toString(), () {
        CompilationUnit unit = context.computeResult(source, PARSED_UNIT);
        UnlinkedUnitBuilder unlinkedUnit = serializeAstUnlinked(unit);
        bundleAssembler.addUnlinkedUnit(source, unlinkedUnit);
  