expect(
        Array.from(new (BTreeSet.with(MockOptionEnum))(registry, mockOptionEnumSetObj)).map((k) => k.value.toJSON())
      ).toEqual([
        null,
        { key1: { int: -1, text: 'b' } },