anchor.diff:  
       await fixture.update((comp) {
         comp.logs = logs = [];
  +      // ignore: deprecated_member_use
         comp.child.reattach();
       });
   
  
positive.code: )
  class DetachedViaRef extends Logger {
    DetachedViaRef(ChangeDetectorRef changeDetectorRef) {
      changeDetectorRef.detach();
    }
  }
  
negative.code: 
      await fixture.update((comp) {
        comp.logs = logs = [];
        // ignore: deprecated_member_use
        comp.child.reattach();
      });
  
  