// import { async, ComponentFixture, TestBed } from '@angular/core/testing';
//
// import { SettingsComponent } from './settings.component';
// import {ApiService} from '../services/api.service';
// import {LoginService} from '../services/login.service';
// import {Router} from '@angular/router';
// import {RbCustomInputsModule} from '../rb-custom-inputs/rb-custom-inputs.module';
// import {FormsModule} from '@angular/forms';
// import {ValidationService} from '../services/validation.service';
// import {RbUiComponentsModule} from '@inst-iot/bosch-angular-ui-components';
//
// // TODO
//
// let routerServiceSpy: jasmine.SpyObj<Router>;
// let apiServiceSpy: jasmine.SpyObj<ApiService>;
// let loginServiceSpy: jasmine.SpyObj<LoginService>;
// let validationServiceSpy: jasmine.SpyObj<ValidationService>;
//
//
// describe('SettingsComponent', () => {
//   let component: SettingsComponent;
//   let fixture: ComponentFixture<SettingsComponent>;
//
//   beforeEach(async(() => {
//     const routerSpy = jasmine.createSpyObj('Router', ['navigate']);
//     const apiSpy = jasmine.createSpyObj('ApiService', ['get', 'post', 'put']);
//     const loginSpy = jasmine.createSpyObj('LoginService', ['login', 'canActivate']);
//     const validationSpy = jasmine.createSpyObj('ValidationService', ['generate']);
//
//     TestBed.configureTestingModule({
//       declarations: [ SettingsComponent ],
//       imports: [
//         RbUiComponentsModule,
//         RbCustomInputsModule,
//         FormsModule
//       ],
//       providers: [
//         {provide: Router, useValue: routerSpy},
//         {provide: ApiService, useValue: apiSpy},
//         {provide: LoginService, useValue: loginSpy},
//         {provide: ValidationService, useValue: validationSpy},
//       ]
//     })
//     .compileComponents();
//
//     routerServiceSpy = TestBed.inject(Router) as jasmine.SpyObj<Router>;
//     apiServiceSpy = TestBed.inject(ApiService) as jasmine.SpyObj<ApiService>;
//     loginServiceSpy = TestBed.inject(LoginService) as jasmine.SpyObj<LoginService>;
//     validationServiceSpy = TestBed.inject(ValidationService) as jasmine.SpyObj<ValidationService>;
//   }));
//
//   beforeEach(() => {
//     fixture = TestBed.createComponent(SettingsComponent);
//     component = fixture.componentInstance;
//     component.ngOnInit();
//     fixture.detectChanges();
//   });
//
//   it('should create', () => {
//     expect(component).toBeTruthy();
//   });
// });
