text: import { ComponentFixture, TestBed } from '@angular/core/testing';
  import { ReactiveFormsModule } from '@angular/forms';
  import { RouterTestingModule } from '@angular/router/testing';
  
  import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
  
  import { configureTestBed } from '../../../../testing/unit-test-helper';
  import { SharedModule } from '../../../shared/shared.module';
  import { RgwUserCapabilityModalComponent } from './rgw-user-capability-modal.component';
  
  describe('RgwUserCapabilityModalComponent', () => {
    let component: RgwUserCapabilityModalComponent;
    let fixture: ComponentFixture<RgwUserCapabilityModalComponent>;
  
    configureTestBed({
      declarations: [RgwUserCapabilityModalComponent],
      imports: [ReactiveFormsModule, SharedModule, RouterTestingModule],
      providers: [NgbActiveModal]
    });
  
    beforeEach(() => {
      fixture = TestBed.createComponent(RgwUserCapabilityModalComponent);
      component = fixture.componentInstance;
      fixture.detectChanges();
    });
  
    it('should create', () => {
      expect(component).toBeTruthy();
    });
  });
  