import { async, ComponentFixture, TestBed } from '@angular/core/testing';

import { LicenseWarningComponent } from './license-warning.component';
import { HttpClientTestingModule } from '@angular/common/http/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { MatDialogModule } from '@angular/material/dialog';
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { MatSnackBarModule } from '@angular/material/snack-bar';

describe('LicenseWarningComponent', () => {
  let component: LicenseWarningComponent;
  let fixture: ComponentFixture<LicenseWarningComponent>;

  beforeEach(async(() => {
    TestBed.configureTestingModule({
      schemas: [CUSTOM_ELEMENTS_SCHEMA],
      declarations: [ LicenseWarningComponent ],
      imports: [HttpClientTestingModule, RouterTestingModule, MatDialogModule, MatSnackBarModule,]
    })
    .compileComponents();
  }));

  beforeEach(() => {
    fixture = TestBed.createComponent(LicenseWarningComponent);
    component = fixture.componentInstance;
    fixture.detectChanges();
  });

  it('should create', () => {
    expect(component).toBeTruthy();
  });
});
