it('should unset the injector after the first call (to prevent memory leaks)', () => {
   const mockInjector = {get: () => {}, has: () => false};
   setTempInjectorRef(mockInjector);
   injectorFactory();
   const injector = injectorFactory();
   expect(injector).toBe(null);
 });
 it('should return the injector value that was previously set', () => {
   const mockInjector = {get: () => {}, has: () => false};
   setTempInjectorRef(mockInjector);
   const injector = injectorFactory();
   expect(injector).toBe(mockInjector);
 });
 it('should unset the injector after the first call (to prevent memory leaks)', () => {
   const mockInjector = {get: () => {}, has: () => false};
   setTempInjectorRef(mockInjector);
   injectorFactory();
   expect(injectorFactory).toThrowError();  // ...because it has been unset
 });