anchor.diff:    template: '<injects-aliased-local></injects-aliased-local>',
     directives: const [InjectsAliasedLocal],
     providers: const [
  -    const Provider(Dependency, useExisting: ShouldInjectAliasedLocal),
  +    const ExistingProvider(Dependency, ShouldInjectAliasedLocal),
     ],
   )
   class ShouldInjectAliasedLocal extends Dependency {
  
positive.code: @Component(
    selector: 'child-component-provides-service',
    providers: const [
      const Provider(SomeService, useExisting: MyChildComponentProvidesService)
    ],
    template: '<div></div>',
  )
  
negative.code:           const isInstanceOf<VisibilityLocalImplementation>(),
            const isInstanceOf<VisibilityAllImplementation>(),
          ]);
        });
  
        test('should support $FactoryProvider', () async {
          final testBed = NgTestBed
              .forComponent(ng_generated.ShouldSupportFactoryProviderNgFactory);
          final testFixture = await testBed.create();
          expect(testFixture.assertOnlyInstance.child.interface, isNotNull);
        });
  
        test('should support $ClassProvider', () async {
          final testBed = NgTestBed
              .forComponent(ng_generated.ShouldSupportClassProviderNgFactory);
          final testFixture = await testBed.create();
          expect(testFixture.assertOnlyInstance.child.interface, isNotNull);
        });
      });
  
  