anchor.diff:  ''');
   
       var invocation = findNode.methodInvocation('c.a()');
  -    var declaration = findNode.methodDeclaration('void /*2*/ a()');
  -    expect(invocation.methodName.staticElement, declaration.declaredElement);
  +    assertElement(invocation, findElement.method('a', of: 'Core2_Ext'));
     }
   
     test_method_unnamedExtension() async {
  
positive.code: }
  
  extension B_Ext<T> on B<T> {
    void /*2*/ f(T x) { }
  }
  
  main() {
  
negative.code: }
  
  extension Core2_Ext on Core2 {
    void a() => 0;
  }
  
  f() {
  