+ const policyTypeDataSourceSpy = jasmine.createSpyObj('PolicyTypeDataSource', [ 'connect', 'loadTable', 'disconnect' ]);
+ const policyType = {
+ name: "type1",
+ schema: "{}",
+ schemaObject: "{}"
+ }
+ policyTypeDataSourceSpy.connect.and.returnValue(of([ policyType]));
+ policyTypeDataSourceSpy.disconnect();
+
+ let matDialogStub: Partial<MatDialog>;
+ let notificationServiceStub: Partial<NotificationService>;
+