anchor.diff:    test('should check when an event is fired', () async {
       final testBed = new NgTestBed<PushCmpHostComponent>();
       final testFixture = await testBed.create();
  -    final pushCmp = testFixture.rootElement.children.first;
  -    final cmp = getDebugNode(pushCmp).getLocal('cmp');
  +    final cmp = testFixture.assertOnlyInstance.child;
  +    final cmpElement = testFixture.rootElement.children.first;
       expect(cmp.numberOfChecks, 1);
       // Regular element.
       await testFixture.update((_) {
  -      pushCmp.children[0].dispatchEvent(new MouseEvent('click'));
  +      cmpElement.children[0].dispatchEvent(new MouseEvent('click'));
       });
       expect(cmp.numberOfChecks, 2);
       // Element inside an *ngIf.
       await testFixture.update((_) {
  -      pushCmp.children[1].dispatchEvent(new MouseEvent('click'));
  +      cmpElement.children[1].dispatchEvent(new MouseEvent('click'));
       });
       expect(cmp.numberOfChecks, 3);
       // Element inside a child component.
       await testFixture.update((_) {
  -      pushCmp.children[2].children.first.dispatchEvent(new MouseEvent('click'));
  +      cmpElement.children[2].children[0].dispatchEvent(new MouseEvent('click'));
       });
       expect(cmp.numberOfChecks, 4);
     });
  
positive.code:   template: '{{field}}<div (click)="noop()"></div><div *ngIf="true" '
        '(click)="noop()"></div><event-cmp></event-cmp>',
    directives: const [EventCmp, NgIf],
    // TODO(b/71710685): Change to `Visibility.local` to reduce code size.
    visibility: Visibility.all,
  )
  class PushCmp {
    int numberOfChecks;
  
negative.code:   test('should check when async pipe requests check', () async {
      final testBed = new NgTestBed<PushCmpWithAsyncPipeHostCmp>();
      final testFixture = await testBed.create();
      final cmp = testFixture.assertOnlyInstance.child;
      expect(cmp.numberOfChecks, 1);
      await testFixture.update();
      expect(cmp.numberOfChecks, 1);
  