anchor.diff:    new A.named();
   }
   ''';
  -  var expectedResult = "class A{A(){}}main(){new A();new p_Unresolved();}";
  +  var expectedResult = "class A{A(){}}main(){new A();new A_Unresolved();}";
     testDart2Dart(src,
         continuation: (String result) { Expect.equals(expectedResult, result); });
   }
  
positive.code:       'var globalVarInitialized=6,globalVarInitialized2=7;'
        'class A{A(){}A.fromFoo(){}static staticfoo(){}foo(){}'
            'static const field=5;}'
        'p_globalfoo(){}'
        'var p_globalVar;var p_globalVarInitialized=6,p_globalVarInitialized2=7;'
        'class p_A{p_A(){}p_A.p_fromFoo(){}static p_staticfoo(){}foo(){}'
            'static const p_field=5;}'
        'main(){p_globalVar;p_globalVarInitialized;'
           'p_globalVarInitialized2;p_globalfoo();'
           'p_A.p_field;p_A.p_staticfoo();'
           'new p_A();new p_A.p_fromFoo();new p_A().foo();'
           'globalVar;globalVarInitialized;globalVarInitialized2;globalfoo();'
           'A.field;A.staticfoo();'
           'new A();new A.fromFoo();new A().foo();}';
  
negative.code: }
  ''';
    var expectedResult = 'import "dart:html" as p;'
        'class A{static String get A_userAgent=>p.window.navigator.userAgent;}'
        'main(){A.A_userAgent;}';
    testDart2Dart(src,
        continuation: (String result) { Expect.equals(expectedResult, result); });
  }
  