Similar to our previous example we instantiate the service using beforeEach. As we said, this is a good practice even if we only have one spec. On this occasion we are checking each individual language and the total count.
Angular 2 — Unit Testing recipes
Gerard Sans
15118
This is now handled via the addProviders() method right?