How to create test spec for angular 2 service with @Inject contructor
<p>I am having a problem creating a unit test for my translate service. I have this as a constructor of my <strong>TranslateService</strong></p>

<pre><code>constructor(@Inject(TRANSLATIONS) private _translations: any) {}
</code></pre>

<p>I created <strong>my translate.service.spec.ts</strong> with this</p>

<pre><code>describe('On initialize', () =&gt; {
        it('No changes made to the service', async(inject([TranslateService], (service: TranslateService) =&gt; {
            let translate = TestBed.get(TranslateService);
        })));
    });
</code></pre>

<p>However, the console prompts me with an error saying, "<strong>No provider for TranslateService</strong>". How inject the @Inject in the spec file?</p>