anchor.diff:    final bar = Bar();
   }
   
  +@Component(
  +  selector: 'test',
  +  template: r'<button (click)="bar.doCapture()"></button>',
  +)
  +class TestChainedMethodsDirect {
  +  final bar = Bar();
  +}
  +
   class Bar {
     void Function() overrideDoCapture = () {};
     void doCapture() {
  
positive.code: 
  @Component(
    selector: 'test',
    exports: [],
    template: r'<button (click)="TestStaticMethods.doCapture"></button>',
  )
  class TestStaticMethods {
    static void Function() overrideDoCapture = () {};
    static void doCapture() {
      overrideDoCapture();
  
negative.code:       fixture.rootElement.querySelector('button').click();
      });
    }, skip: 'https://github.com/dart-lang/angular/issues/1670');
  
    test('should support chained method invoked for events', () async {
      final testBed = NgTestBed.forComponent<TestChainedMethodsDirect>(
        ng.TestChainedMethodsDirectNgFactory,
      );
      final fixture = await testBed.create();
      fixture.assertOnlyInstance.bar.overrideDoCapture = expectAsync0(() {});
      await fixture.update((_) {
        fixture.rootElement.querySelector('button').click();
      });
    });
  }
  
  void Function() overrideTopLevelDoCapture = () {};
  