Jasmine runs the beforeEach function before each of these tests
Test a component with a dependency
userService = TestBed.get(UserService);
or
import { ComponentFixtureAutoDetect } from '\@angular/core/testing';
providers: [ { provide: ComponentFixtureAutoDetect, useValue: true } ]