anchor.diff:          'Windows.Storage.Pickers.FileOpenPicker');
   
       final projection = WinRTClassProjection(winTypeDef!);
  -    expect(projection.hasDefaultConstructor, true);
  +    expect(projection.hasDefaultConstructor, isTrue);
       expect(
           projection.defaultConstructor,
           equalsIgnoringWhitespace(
  
positive.code:     final winTypeDef = MetadataStore.getMetadataForType(namespace);
  
      final projection = WinRTClassProjection(winTypeDef!);
      expect(projection.hasDefaultConstructor, true);
      expect(projection.factoryMappers, isNotEmpty);
      expect(projection.staticMappers, isEmpty);
      expect(projection.classNameDeclaration,
  
negative.code:     expect(projection.importHeader,
          contains("import '../../../winrt/system/userchangedeventargs.dart'"));
    });
  
    test('WinRT class does not include excluded interfaces in the imports', () {
      final winTypeDef = MetadataStore.getMetadataForType(
          'Windows.Storage.Pickers.FileOpenPicker');
  
      final projection = WinRTClassProjection(winTypeDef!);
      expect(projection.importHeader.contains('ifileopenpicker.dart'), isTrue);
      expect(projection.importHeader.contains('ifileopenpicker2.dart'), isFalse);
      expect(projection.importHeader.contains('ifileopenpicker3.dart'), isTrue);
      expect(projection.importHeader.contains('ifileopenpickerstatics.dart'),
          isFalse);
      expect(projection.importHeader.contains('ifileopenpickerstatics2.dart'),
          isTrue);
      expect(
          projection.importHeader.contains('ifileopenpickerwithoperationid.dart'),
          isFalse);
    });
  
    test(
        'WinRT class does not include excluded interfaces in the implements keyword',
        () {
      final winTypeDef = MetadataStore.getMetadataForType(
          'Windows.Storage.Pickers.FileOpenPicker');
  
      final projection = WinRTClassProjection(winTypeDef!);
      expect(
          projection.inheritsFrom, equals('IFileOpenPicker, IFileOpenPicker3'));
      expect(
          projection.classDeclaration,
          equals(
              'class FileOpenPicker extends IInspectable implements IFileOpenPicker, IFileOpenPicker3 {'));
    });
  }
  