title: NullInjectorError: No provider for Store
body: <p>I'm receiving the following error when running my unit tests:</p>
  
  <pre><code>Error: StaticInjectorError(DynamicTestModule)[BlogService -&gt; Store]: 
    StaticInjectorError(Platform: core)[BlogService -&gt; Store]: 
      NullInjectorError: No provider for Store!
  </code></pre>
  
  <p>Here is the code in my test file:</p>
  
  <pre><code>import { TestBed, inject } from '@angular/core/testing';
  
  import { BlogService } from './blog.service';
  
  describe('BlogService', () =&gt; {
    beforeEach(() =&gt; {
      TestBed.configureTestingModule({
        providers: [BlogService]
      });
    });
  
    it('should be created', inject([BlogService], (service: BlogService) =&gt; {
      expect(service).toBeTruthy();
    }));
  });
  </code></pre>
  
  <p>I'm not  sure why this error is occuring. I thought the 'inject' call instantiates the service.</p>