anchor.diff:  }
   ''');
       var invocation = findNode.functionExpressionInvocation('1(2)');
  -    expect(
  -      invocation.staticElement,
  -      same(findElement.method('call', of: 'E')),
  -    );
  -    assertInvokeType(invocation, 'int Function(int)');
  +    if (isNullSafetyEnabled) {
  +      assertResolvedNodeText(invocation, r'''
  +FunctionExpressionInvocation
  +  function: IntegerLiteral
  +    literal: 1
  +    staticType: int
  +  argumentList: ArgumentList
  +    leftParenthesis: (
  +    arguments
  +      IntegerLiteral
  +        literal: 2
  +        staticType: int
  +    rightParenthesis: )
  +  staticElement: self::@extension::E::@method::call
  +  staticInvokeType: int Function(int)
  +  staticType: int
  +''');
  +    } else {
  +      assertResolvedNodeText(invocation, r'''
  +FunctionExpressionInvocation
  +  function: IntegerLiteral
  +    literal: 1
  +    staticType: int*
  +  argumentList: ArgumentList
  +    leftParenthesis: (
  +    arguments
  +      IntegerLiteral
  +        literal: 2
  +        staticType: int*
  +    rightParenthesis: )
  +  staticElement: self::@extension::E::@method::call
  +  staticInvokeType: int* Function(int*)*
  +  staticType: int*
  +''');
  +    }
     }
   
     test_instance_compoundAssignment_fromExtendedType() async {
  
positive.code: }
  ''');
      var access = findNode.prefixed('c.a');
      var import = findElement.importFind('package:test/lib.dart');
      assertElement(access, import.extension_('E').getGetter('a'));
      assertType(access, 'int');
    }
  
    test_visibility_shadowed_platformByNonPlatform() async {
  
negative.code: }
  ''');
      var identifier = findNode.simple('a;');
      if (isNullSafetyEnabled) {
        assertResolvedNodeText(identifier, r'''
  SimpleIdentifier
    token: a
    staticElement: self::@extension::E::@getter::a
    staticType: int
  ''');
      } else {
        assertResolvedNodeText(identifier, r'''
  SimpleIdentifier
    token: a
    staticElement: self::@extension::E::@getter::a
    staticType: int*
  ''');
      }
    }
  
    test_instance_getter_fromThis_fromExtendedType() async {
  