// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`createDatabaseTreeNodes generates the correct tree structure for the Cassandra API, serverless, on Hosted 1`] = `
[
  {
    "children": [
      {
        "children": [
          {
            "contextMenu": [
              {
                "iconSrc": {},
                "label": "Open Cassandra Shell",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "Delete Table",
                "onClick": [Function],
                "styleClass": "deleteCollectionMenuItem",
              },
            ],
            "id": "",
            "isSelected": [Function],
            "label": "Rows",
            "onClick": [Function],
          },
        ],
        "className": "collectionNode",
        "contextMenu": [
          {
            "iconSrc": {},
            "label": "Open Cassandra Shell",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "Delete Table",
            "onClick": [Function],
            "styleClass": "deleteCollectionMenuItem",
          },
        ],
        "iconSrc": <EyeRegular
          fontSize={16}
        />,
        "isExpanded": true,
        "isSelected": [Function],
        "label": "standardCollection",
        "onClick": [Function],
        "onCollapsed": [Function],
        "onContextMenuOpen": [Function],
        "onExpanded": [Function],
      },
      {
        "children": [
          {
            "contextMenu": [
              {
                "iconSrc": {},
                "label": "Open Cassandra Shell",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "Delete Table",
                "onClick": [Function],
                "styleClass": "deleteCollectionMenuItem",
              },
            ],
            "id": "",
            "isSelected": [Function],
            "label": "Rows",
            "onClick": [Function],
          },
          {
            "isSelected": [Function],
            "label": "Conflicts",
            "onClick": [Function],
          },
        ],
        "className": "collectionNode",
        "contextMenu": [
          {
            "iconSrc": {},
            "label": "Open Cassandra Shell",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "Delete Table",
            "onClick": [Function],
            "styleClass": "deleteCollectionMenuItem",
          },
        ],
        "iconSrc": <EyeRegular
          fontSize={16}
        />,
        "isExpanded": true,
        "isSelected": [Function],
        "label": "conflictsCollection",
        "onClick": [Function],
        "onCollapsed": [Function],
        "onContextMenuOpen": [Function],
        "onExpanded": [Function],
      },
    ],
    "className": "databaseNode",
    "contextMenu": [
      {
        "iconSrc": {},
        "label": "New Table",
        "onClick": [Function],
      },
      {
        "iconSrc": {},
        "label": "Delete Keyspace",
        "onClick": [Function],
        "styleClass": "deleteDatabaseMenuItem",
      },
    ],
    "iconSrc": <DatabaseRegular
      fontSize={16}
    />,
    "isExpanded": true,
    "isSelected": [Function],
    "label": "standardDb",
    "onCollapsed": [Function],
    "onContextMenuOpen": [Function],
    "onExpanded": [Function],
  },
  {
    "children": [
      {
        "iconSrc": <SettingsRegular
          fontSize={16}
        />,
        "id": "",
        "isSelected": [Function],
        "label": "Scale",
        "onClick": [Function],
      },
      {
        "children": [
          {
            "contextMenu": [
              {
                "iconSrc": {},
                "label": "Open Cassandra Shell",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "Delete Table",
                "onClick": [Function],
                "styleClass": "deleteCollectionMenuItem",
              },
            ],
            "id": "sampleItems",
            "isSelected": [Function],
            "label": "Rows",
            "onClick": [Function],
          },
        ],
        "className": "collectionNode",
        "contextMenu": [
          {
            "iconSrc": {},
            "label": "Open Cassandra Shell",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "Delete Table",
            "onClick": [Function],
            "styleClass": "deleteCollectionMenuItem",
          },
        ],
        "iconSrc": <EyeRegular
          fontSize={16}
        />,
        "isExpanded": true,
        "isSelected": [Function],
        "label": "sampleItemsCollection",
        "onClick": [Function],
        "onCollapsed": [Function],
        "onContextMenuOpen": [Function],
        "onExpanded": [Function],
      },
    ],
    "className": "databaseNode",
    "contextMenu": [
      {
        "iconSrc": {},
        "label": "New Table",
        "onClick": [Function],
      },
      {
        "iconSrc": {},
        "label": "Delete Keyspace",
        "onClick": [Function],
        "styleClass": "deleteDatabaseMenuItem",
      },
    ],
    "iconSrc": <DatabaseRegular
      fontSize={16}
    />,
    "isExpanded": true,
    "isSelected": [Function],
    "label": "sharedDatabase",
    "onCollapsed": [Function],
    "onContextMenuOpen": [Function],
    "onExpanded": [Function],
  },
  {
    "children": [
      {
        "children": [
          {
            "contextMenu": [
              {
                "iconSrc": {},
                "label": "Open Cassandra Shell",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "Delete Table",
                "onClick": [Function],
                "styleClass": "deleteCollectionMenuItem",
              },
            ],
            "id": "",
            "isSelected": [Function],
            "label": "Rows",
            "onClick": [Function],
          },
          {
            "children": [
              {
                "children": [
                  {
                    "children": [
                      {
                        "label": "string",
                      },
                      {
                        "label": "HasNulls: false",
                      },
                    ],
                    "label": "street",
                  },
                  {
                    "children": [
                      {
                        "label": "string",
                      },
                      {
                        "label": "HasNulls: true",
                      },
                    ],
                    "label": "line2",
                  },
                  {
                    "children": [
                      {
                        "label": "number",
                      },
                      {
                        "label": "HasNulls: false",
                      },
                    ],
                    "label": "zip",
                  },
                ],
                "label": "address",
              },
              {
                "children": [
                  {
                    "label": "string",
                  },
                  {
                    "label": "HasNulls: false",
                  },
                ],
                "label": "orderId",
              },
            ],
            "label": "Schema",
            "onClick": [Function],
          },
        ],
        "className": "collectionNode",
        "contextMenu": [
          {
            "iconSrc": {},
            "label": "Open Cassandra Shell",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "Delete Table",
            "onClick": [Function],
            "styleClass": "deleteCollectionMenuItem",
          },
        ],
        "iconSrc": <EyeRegular
          fontSize={16}
        />,
        "isExpanded": true,
        "isSelected": [Function],
        "label": "schemaCollection",
        "onClick": [Function],
        "onCollapsed": [Function],
        "onContextMenuOpen": [Function],
        "onExpanded": [Function],
      },
      {
        "className": "loadMoreNode",
        "label": "load more",
        "onClick": [Function],
      },
    ],
    "className": "databaseNode",
    "contextMenu": [
      {
        "iconSrc": {},
        "label": "New Table",
        "onClick": [Function],
      },
      {
        "iconSrc": {},
        "label": "Delete Keyspace",
        "onClick": [Function],
        "styleClass": "deleteDatabaseMenuItem",
      },
    ],
    "iconSrc": <DatabaseRegular
      fontSize={16}
    />,
    "isExpanded": true,
    "isSelected": [Function],
    "label": "giganticDatabase",
    "onCollapsed": [Function],
    "onContextMenuOpen": [Function],
    "onExpanded": [Function],
  },
]
`;

exports[`createDatabaseTreeNodes generates the correct tree structure for the Mongo API, with Notebooks and Phoenix features, on Emulator 1`] = `
[
  {
    "children": [
      {
        "children": [
          {
            "contextMenu": [
              {
                "iconSrc": {},
                "label": "New Query",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "Open Mongo Shell",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "Delete Collection",
                "onClick": [Function],
                "styleClass": "deleteCollectionMenuItem",
              },
            ],
            "id": "",
            "isSelected": [Function],
            "label": "Documents",
            "onClick": [Function],
          },
          {
            "id": "",
            "isSelected": [Function],
            "label": "Scale & Settings",
            "onClick": [Function],
          },
        ],
        "className": "collectionNode",
        "contextMenu": [
          {
            "iconSrc": {},
            "label": "New Query",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "Open Mongo Shell",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "Delete Collection",
            "onClick": [Function],
            "styleClass": "deleteCollectionMenuItem",
          },
        ],
        "iconSrc": <EyeRegular
          fontSize={16}
        />,
        "isExpanded": true,
        "isSelected": [Function],
        "label": "standardCollection",
        "onClick": [Function],
        "onCollapsed": [Function],
        "onContextMenuOpen": [Function],
        "onExpanded": [Function],
      },
      {
        "children": [
          {
            "contextMenu": [
              {
                "iconSrc": {},
                "label": "New Query",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "Open Mongo Shell",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "Delete Collection",
                "onClick": [Function],
                "styleClass": "deleteCollectionMenuItem",
              },
            ],
            "id": "",
            "isSelected": [Function],
            "label": "Documents",
            "onClick": [Function],
          },
          {
            "id": "",
            "isSelected": [Function],
            "label": "Scale & Settings",
            "onClick": [Function],
          },
          {
            "isSelected": [Function],
            "label": "Conflicts",
            "onClick": [Function],
          },
        ],
        "className": "collectionNode",
        "contextMenu": [
          {
            "iconSrc": {},
            "label": "New Query",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "Open Mongo Shell",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "Delete Collection",
            "onClick": [Function],
            "styleClass": "deleteCollectionMenuItem",
          },
        ],
        "iconSrc": <EyeRegular
          fontSize={16}
        />,
        "isExpanded": true,
        "isSelected": [Function],
        "label": "conflictsCollection",
        "onClick": [Function],
        "onCollapsed": [Function],
        "onContextMenuOpen": [Function],
        "onExpanded": [Function],
      },
    ],
    "className": "databaseNode",
    "contextMenu": [
      {
        "iconSrc": {},
        "label": "New Collection",
        "onClick": [Function],
      },
      {
        "iconSrc": {},
        "label": "Delete Database",
        "onClick": [Function],
        "styleClass": "deleteDatabaseMenuItem",
      },
    ],
    "iconSrc": <DatabaseRegular
      fontSize={16}
    />,
    "isExpanded": true,
    "isSelected": [Function],
    "label": "standardDb",
    "onCollapsed": [Function],
    "onContextMenuOpen": [Function],
    "onExpanded": [Function],
  },
  {
    "children": [
      {
        "iconSrc": <SettingsRegular
          fontSize={16}
        />,
        "id": "",
        "isSelected": [Function],
        "label": "Scale",
        "onClick": [Function],
      },
      {
        "children": [
          {
            "contextMenu": [
              {
                "iconSrc": {},
                "label": "New Query",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "Open Mongo Shell",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "Delete Collection",
                "onClick": [Function],
                "styleClass": "deleteCollectionMenuItem",
              },
            ],
            "id": "sampleItems",
            "isSelected": [Function],
            "label": "Documents",
            "onClick": [Function],
          },
          {
            "id": "sampleSettings",
            "isSelected": [Function],
            "label": "Settings",
            "onClick": [Function],
          },
        ],
        "className": "collectionNode",
        "contextMenu": [
          {
            "iconSrc": {},
            "label": "New Query",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "Open Mongo Shell",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "Delete Collection",
            "onClick": [Function],
            "styleClass": "deleteCollectionMenuItem",
          },
        ],
        "iconSrc": <EyeRegular
          fontSize={16}
        />,
        "isExpanded": true,
        "isSelected": [Function],
        "label": "sampleItemsCollection",
        "onClick": [Function],
        "onCollapsed": [Function],
        "onContextMenuOpen": [Function],
        "onExpanded": [Function],
      },
    ],
    "className": "databaseNode",
    "contextMenu": [
      {
        "iconSrc": {},
        "label": "New Collection",
        "onClick": [Function],
      },
      {
        "iconSrc": {},
        "label": "Delete Database",
        "onClick": [Function],
        "styleClass": "deleteDatabaseMenuItem",
      },
    ],
    "iconSrc": <DatabaseRegular
      fontSize={16}
    />,
    "isExpanded": true,
    "isSelected": [Function],
    "label": "sharedDatabase",
    "onCollapsed": [Function],
    "onContextMenuOpen": [Function],
    "onExpanded": [Function],
  },
  {
    "children": [
      {
        "children": [
          {
            "contextMenu": [
              {
                "iconSrc": {},
                "label": "New Query",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "Open Mongo Shell",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "Delete Collection",
                "onClick": [Function],
                "styleClass": "deleteCollectionMenuItem",
              },
            ],
            "id": "",
            "isSelected": [Function],
            "label": "Documents",
            "onClick": [Function],
          },
          {
            "id": "",
            "isSelected": [Function],
            "label": "Scale & Settings",
            "onClick": [Function],
          },
          {
            "children": [
              {
                "children": [
                  {
                    "children": [
                      {
                        "label": "string",
                      },
                      {
                        "label": "HasNulls: false",
                      },
                    ],
                    "label": "street",
                  },
                  {
                    "children": [
                      {
                        "label": "string",
                      },
                      {
                        "label": "HasNulls: true",
                      },
                    ],
                    "label": "line2",
                  },
                  {
                    "children": [
                      {
                        "label": "number",
                      },
                      {
                        "label": "HasNulls: false",
                      },
                    ],
                    "label": "zip",
                  },
                ],
                "label": "address",
              },
              {
                "children": [
                  {
                    "label": "string",
                  },
                  {
                    "label": "HasNulls: false",
                  },
                ],
                "label": "orderId",
              },
            ],
            "label": "Schema",
            "onClick": [Function],
          },
        ],
        "className": "collectionNode",
        "contextMenu": [
          {
            "iconSrc": {},
            "label": "New Query",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "Open Mongo Shell",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "Delete Collection",
            "onClick": [Function],
            "styleClass": "deleteCollectionMenuItem",
          },
        ],
        "iconSrc": <EyeRegular
          fontSize={16}
        />,
        "isExpanded": true,
        "isSelected": [Function],
        "label": "schemaCollection",
        "onClick": [Function],
        "onCollapsed": [Function],
        "onContextMenuOpen": [Function],
        "onExpanded": [Function],
      },
      {
        "className": "loadMoreNode",
        "label": "load more",
        "onClick": [Function],
      },
    ],
    "className": "databaseNode",
    "contextMenu": [
      {
        "iconSrc": {},
        "label": "New Collection",
        "onClick": [Function],
      },
      {
        "iconSrc": {},
        "label": "Delete Database",
        "onClick": [Function],
        "styleClass": "deleteDatabaseMenuItem",
      },
    ],
    "iconSrc": <DatabaseRegular
      fontSize={16}
    />,
    "isExpanded": true,
    "isSelected": [Function],
    "label": "giganticDatabase",
    "onCollapsed": [Function],
    "onContextMenuOpen": [Function],
    "onExpanded": [Function],
  },
]
`;

exports[`createDatabaseTreeNodes generates the correct tree structure for the SQL API, on Fabric non read-only (native) 1`] = `
[
  {
    "children": [
      {
        "children": [
          {
            "contextMenu": [
              {
                "iconSrc": {},
                "label": "New SQL Query",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "Delete Container",
                "onClick": [Function],
                "styleClass": "deleteCollectionMenuItem",
              },
            ],
            "id": "",
            "isSelected": [Function],
            "label": "Items",
            "onClick": [Function],
          },
          {
            "id": "",
            "isSelected": [Function],
            "label": "Settings",
            "onClick": [Function],
          },
        ],
        "className": "collectionNode",
        "contextMenu": [
          {
            "iconSrc": {},
            "label": "New SQL Query",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "Delete Container",
            "onClick": [Function],
            "styleClass": "deleteCollectionMenuItem",
          },
        ],
        "iconSrc": <EyeRegular
          fontSize={16}
        />,
        "isExpanded": true,
        "isSelected": [Function],
        "label": "standardCollection",
        "onClick": [Function],
        "onCollapsed": [Function],
        "onContextMenuOpen": [Function],
        "onExpanded": [Function],
      },
      {
        "children": [
          {
            "contextMenu": [
              {
                "iconSrc": {},
                "label": "New SQL Query",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "Delete Container",
                "onClick": [Function],
                "styleClass": "deleteCollectionMenuItem",
              },
            ],
            "id": "",
            "isSelected": [Function],
            "label": "Items",
            "onClick": [Function],
          },
          {
            "id": "",
            "isSelected": [Function],
            "label": "Settings",
            "onClick": [Function],
          },
          {
            "isSelected": [Function],
            "label": "Conflicts",
            "onClick": [Function],
          },
        ],
        "className": "collectionNode",
        "contextMenu": [
          {
            "iconSrc": {},
            "label": "New SQL Query",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "Delete Container",
            "onClick": [Function],
            "styleClass": "deleteCollectionMenuItem",
          },
        ],
        "iconSrc": <EyeRegular
          fontSize={16}
        />,
        "isExpanded": true,
        "isSelected": [Function],
        "label": "conflictsCollection",
        "onClick": [Function],
        "onCollapsed": [Function],
        "onContextMenuOpen": [Function],
        "onExpanded": [Function],
      },
    ],
    "className": "databaseNode",
    "contextMenu": [
      {
        "iconSrc": {},
        "label": "New Container",
        "onClick": [Function],
      },
    ],
    "iconSrc": <DatabaseRegular
      fontSize={16}
    />,
    "isExpanded": true,
    "isSelected": [Function],
    "label": "standardDb",
    "onCollapsed": [Function],
    "onContextMenuOpen": [Function],
    "onExpanded": [Function],
  },
  {
    "children": [
      {
        "children": [
          {
            "contextMenu": [
              {
                "iconSrc": {},
                "label": "New SQL Query",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "Delete Container",
                "onClick": [Function],
                "styleClass": "deleteCollectionMenuItem",
              },
            ],
            "id": "sampleItems",
            "isSelected": [Function],
            "label": "Items",
            "onClick": [Function],
          },
          {
            "id": "sampleSettings",
            "isSelected": [Function],
            "label": "Settings",
            "onClick": [Function],
          },
        ],
        "className": "collectionNode",
        "contextMenu": [
          {
            "iconSrc": {},
            "label": "New SQL Query",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "Delete Container",
            "onClick": [Function],
            "styleClass": "deleteCollectionMenuItem",
          },
        ],
        "iconSrc": <EyeRegular
          fontSize={16}
        />,
        "isExpanded": true,
        "isSelected": [Function],
        "label": "sampleItemsCollection",
        "onClick": [Function],
        "onCollapsed": [Function],
        "onContextMenuOpen": [Function],
        "onExpanded": [Function],
      },
    ],
    "className": "databaseNode",
    "contextMenu": [
      {
        "iconSrc": {},
        "label": "New Container",
        "onClick": [Function],
      },
    ],
    "iconSrc": <DatabaseRegular
      fontSize={16}
    />,
    "isExpanded": true,
    "isSelected": [Function],
    "label": "sharedDatabase",
    "onCollapsed": [Function],
    "onContextMenuOpen": [Function],
    "onExpanded": [Function],
  },
  {
    "children": [
      {
        "children": [
          {
            "contextMenu": [
              {
                "iconSrc": {},
                "label": "New SQL Query",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "Delete Container",
                "onClick": [Function],
                "styleClass": "deleteCollectionMenuItem",
              },
            ],
            "id": "",
            "isSelected": [Function],
            "label": "Items",
            "onClick": [Function],
          },
          {
            "id": "",
            "isSelected": [Function],
            "label": "Settings",
            "onClick": [Function],
          },
          {
            "children": [
              {
                "children": [
                  {
                    "children": [
                      {
                        "label": "string",
                      },
                      {
                        "label": "HasNulls: false",
                      },
                    ],
                    "label": "street",
                  },
                  {
                    "children": [
                      {
                        "label": "string",
                      },
                      {
                        "label": "HasNulls: true",
                      },
                    ],
                    "label": "line2",
                  },
                  {
                    "children": [
                      {
                        "label": "number",
                      },
                      {
                        "label": "HasNulls: false",
                      },
                    ],
                    "label": "zip",
                  },
                ],
                "label": "address",
              },
              {
                "children": [
                  {
                    "label": "string",
                  },
                  {
                    "label": "HasNulls: false",
                  },
                ],
                "label": "orderId",
              },
            ],
            "label": "Schema",
            "onClick": [Function],
          },
        ],
        "className": "collectionNode",
        "contextMenu": [
          {
            "iconSrc": {},
            "label": "New SQL Query",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "Delete Container",
            "onClick": [Function],
            "styleClass": "deleteCollectionMenuItem",
          },
        ],
        "iconSrc": <EyeRegular
          fontSize={16}
        />,
        "isExpanded": true,
        "isSelected": [Function],
        "label": "schemaCollection",
        "onClick": [Function],
        "onCollapsed": [Function],
        "onContextMenuOpen": [Function],
        "onExpanded": [Function],
      },
      {
        "className": "loadMoreNode",
        "label": "load more",
        "onClick": [Function],
      },
    ],
    "className": "databaseNode",
    "contextMenu": [
      {
        "iconSrc": {},
        "label": "New Container",
        "onClick": [Function],
      },
    ],
    "iconSrc": <DatabaseRegular
      fontSize={16}
    />,
    "isExpanded": true,
    "isSelected": [Function],
    "label": "giganticDatabase",
    "onCollapsed": [Function],
    "onContextMenuOpen": [Function],
    "onExpanded": [Function],
  },
]
`;

exports[`createDatabaseTreeNodes generates the correct tree structure for the SQL API, on Fabric read-only (mirrored) 1`] = `
[
  {
    "children": [
      {
        "children": undefined,
        "className": "collectionNode",
        "contextMenu": [
          {
            "iconSrc": {},
            "label": "New SQL Query",
            "onClick": [Function],
          },
        ],
        "iconSrc": <EyeRegular
          fontSize={16}
        />,
        "isExpanded": true,
        "isSelected": [Function],
        "label": "standardCollection",
        "onClick": [Function],
        "onCollapsed": [Function],
        "onContextMenuOpen": [Function],
        "onExpanded": [Function],
      },
      {
        "children": undefined,
        "className": "collectionNode",
        "contextMenu": [
          {
            "iconSrc": {},
            "label": "New SQL Query",
            "onClick": [Function],
          },
        ],
        "iconSrc": <EyeRegular
          fontSize={16}
        />,
        "isExpanded": true,
        "isSelected": [Function],
        "label": "conflictsCollection",
        "onClick": [Function],
        "onCollapsed": [Function],
        "onContextMenuOpen": [Function],
        "onExpanded": [Function],
      },
    ],
    "className": "databaseNode",
    "contextMenu": undefined,
    "iconSrc": <DatabaseRegular
      fontSize={16}
    />,
    "isExpanded": true,
    "isSelected": [Function],
    "label": "standardDb",
    "onCollapsed": [Function],
    "onContextMenuOpen": [Function],
    "onExpanded": [Function],
  },
  {
    "children": [
      {
        "children": undefined,
        "className": "collectionNode",
        "contextMenu": [
          {
            "iconSrc": {},
            "label": "New SQL Query",
            "onClick": [Function],
          },
        ],
        "iconSrc": <EyeRegular
          fontSize={16}
        />,
        "isExpanded": true,
        "isSelected": [Function],
        "label": "sampleItemsCollection",
        "onClick": [Function],
        "onCollapsed": [Function],
        "onContextMenuOpen": [Function],
        "onExpanded": [Function],
      },
    ],
    "className": "databaseNode",
    "contextMenu": undefined,
    "iconSrc": <DatabaseRegular
      fontSize={16}
    />,
    "isExpanded": true,
    "isSelected": [Function],
    "label": "sharedDatabase",
    "onCollapsed": [Function],
    "onContextMenuOpen": [Function],
    "onExpanded": [Function],
  },
  {
    "children": [
      {
        "children": undefined,
        "className": "collectionNode",
        "contextMenu": [
          {
            "iconSrc": {},
            "label": "New SQL Query",
            "onClick": [Function],
          },
        ],
        "iconSrc": <EyeRegular
          fontSize={16}
        />,
        "isExpanded": true,
        "isSelected": [Function],
        "label": "schemaCollection",
        "onClick": [Function],
        "onCollapsed": [Function],
        "onContextMenuOpen": [Function],
        "onExpanded": [Function],
      },
      {
        "className": "loadMoreNode",
        "label": "load more",
        "onClick": [Function],
      },
    ],
    "className": "databaseNode",
    "contextMenu": undefined,
    "iconSrc": <DatabaseRegular
      fontSize={16}
    />,
    "isExpanded": true,
    "isSelected": [Function],
    "label": "giganticDatabase",
    "onCollapsed": [Function],
    "onContextMenuOpen": [Function],
    "onExpanded": [Function],
  },
]
`;

exports[`createDatabaseTreeNodes generates the correct tree structure for the SQL API, on Portal 1`] = `
[
  {
    "children": [
      {
        "children": [
          {
            "contextMenu": [
              {
                "iconSrc": {},
                "label": "New SQL Query",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "New Stored Procedure",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "New UDF",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "New Trigger",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "Delete Container",
                "onClick": [Function],
                "styleClass": "deleteCollectionMenuItem",
              },
            ],
            "id": "",
            "isSelected": [Function],
            "label": "Items",
            "onClick": [Function],
          },
          {
            "id": "",
            "isSelected": [Function],
            "label": "Scale & Settings",
            "onClick": [Function],
          },
          {
            "children": [
              {
                "contextMenu": [
                  {
                    "iconSrc": {},
                    "label": "Delete Stored Procedure",
                    "onClick": [Function],
                  },
                ],
                "isSelected": [Function],
                "label": "mockSproc4",
                "onClick": [Function],
              },
            ],
            "label": "Stored Procedures",
            "onExpanded": [Function],
          },
          {
            "children": [
              {
                "contextMenu": [
                  {
                    "iconSrc": {},
                    "label": "Delete User Defined Function",
                    "onClick": [Function],
                  },
                ],
                "isSelected": [Function],
                "label": "mockUdf4",
                "onClick": [Function],
              },
            ],
            "label": "User Defined Functions",
            "onExpanded": [Function],
          },
          {
            "children": [
              {
                "contextMenu": [
                  {
                    "iconSrc": {},
                    "label": "Delete Trigger",
                    "onClick": [Function],
                  },
                ],
                "isSelected": [Function],
                "label": "mockTrigger4",
                "onClick": [Function],
              },
            ],
            "label": "Triggers",
            "onExpanded": [Function],
          },
        ],
        "className": "collectionNode",
        "contextMenu": [
          {
            "iconSrc": {},
            "label": "New SQL Query",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "New Stored Procedure",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "New UDF",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "New Trigger",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "Delete Container",
            "onClick": [Function],
            "styleClass": "deleteCollectionMenuItem",
          },
        ],
        "iconSrc": <EyeRegular
          fontSize={16}
        />,
        "isExpanded": true,
        "isSelected": [Function],
        "label": "standardCollection",
        "onClick": [Function],
        "onCollapsed": [Function],
        "onContextMenuOpen": [Function],
        "onExpanded": [Function],
      },
      {
        "children": [
          {
            "contextMenu": [
              {
                "iconSrc": {},
                "label": "New SQL Query",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "New Stored Procedure",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "New UDF",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "New Trigger",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "Delete Container",
                "onClick": [Function],
                "styleClass": "deleteCollectionMenuItem",
              },
            ],
            "id": "",
            "isSelected": [Function],
            "label": "Items",
            "onClick": [Function],
          },
          {
            "id": "",
            "isSelected": [Function],
            "label": "Scale & Settings",
            "onClick": [Function],
          },
          {
            "children": [],
            "label": "Stored Procedures",
            "onExpanded": [Function],
          },
          {
            "children": [],
            "label": "User Defined Functions",
            "onExpanded": [Function],
          },
          {
            "children": [],
            "label": "Triggers",
            "onExpanded": [Function],
          },
          {
            "isSelected": [Function],
            "label": "Conflicts",
            "onClick": [Function],
          },
        ],
        "className": "collectionNode",
        "contextMenu": [
          {
            "iconSrc": {},
            "label": "New SQL Query",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "New Stored Procedure",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "New UDF",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "New Trigger",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "Delete Container",
            "onClick": [Function],
            "styleClass": "deleteCollectionMenuItem",
          },
        ],
        "iconSrc": <EyeRegular
          fontSize={16}
        />,
        "isExpanded": true,
        "isSelected": [Function],
        "label": "conflictsCollection",
        "onClick": [Function],
        "onCollapsed": [Function],
        "onContextMenuOpen": [Function],
        "onExpanded": [Function],
      },
    ],
    "className": "databaseNode",
    "contextMenu": [
      {
        "iconSrc": {},
        "label": "New Container",
        "onClick": [Function],
      },
      {
        "iconSrc": {},
        "label": "Delete Database",
        "onClick": [Function],
        "styleClass": "deleteDatabaseMenuItem",
      },
    ],
    "iconSrc": <DatabaseRegular
      fontSize={16}
    />,
    "isExpanded": true,
    "isSelected": [Function],
    "label": "standardDb",
    "onCollapsed": [Function],
    "onContextMenuOpen": [Function],
    "onExpanded": [Function],
  },
  {
    "children": [
      {
        "iconSrc": <SettingsRegular
          fontSize={16}
        />,
        "id": "",
        "isSelected": [Function],
        "label": "Scale",
        "onClick": [Function],
      },
      {
        "children": [
          {
            "contextMenu": [
              {
                "iconSrc": {},
                "label": "New SQL Query",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "New Stored Procedure",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "New UDF",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "New Trigger",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "Delete Container",
                "onClick": [Function],
                "styleClass": "deleteCollectionMenuItem",
              },
            ],
            "id": "sampleItems",
            "isSelected": [Function],
            "label": "Items",
            "onClick": [Function],
          },
          {
            "id": "sampleSettings",
            "isSelected": [Function],
            "label": "Settings",
            "onClick": [Function],
          },
          {
            "children": [],
            "label": "Stored Procedures",
            "onExpanded": [Function],
          },
          {
            "children": [],
            "label": "User Defined Functions",
            "onExpanded": [Function],
          },
          {
            "children": [],
            "label": "Triggers",
            "onExpanded": [Function],
          },
        ],
        "className": "collectionNode",
        "contextMenu": [
          {
            "iconSrc": {},
            "label": "New SQL Query",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "New Stored Procedure",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "New UDF",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "New Trigger",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "Delete Container",
            "onClick": [Function],
            "styleClass": "deleteCollectionMenuItem",
          },
        ],
        "iconSrc": <EyeRegular
          fontSize={16}
        />,
        "isExpanded": true,
        "isSelected": [Function],
        "label": "sampleItemsCollection",
        "onClick": [Function],
        "onCollapsed": [Function],
        "onContextMenuOpen": [Function],
        "onExpanded": [Function],
      },
    ],
    "className": "databaseNode",
    "contextMenu": [
      {
        "iconSrc": {},
        "label": "New Container",
        "onClick": [Function],
      },
      {
        "iconSrc": {},
        "label": "Delete Database",
        "onClick": [Function],
        "styleClass": "deleteDatabaseMenuItem",
      },
    ],
    "iconSrc": <DatabaseRegular
      fontSize={16}
    />,
    "isExpanded": true,
    "isSelected": [Function],
    "label": "sharedDatabase",
    "onCollapsed": [Function],
    "onContextMenuOpen": [Function],
    "onExpanded": [Function],
  },
  {
    "children": [
      {
        "children": [
          {
            "contextMenu": [
              {
                "iconSrc": {},
                "label": "New SQL Query",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "New Stored Procedure",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "New UDF",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "New Trigger",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "Delete Container",
                "onClick": [Function],
                "styleClass": "deleteCollectionMenuItem",
              },
            ],
            "id": "",
            "isSelected": [Function],
            "label": "Items",
            "onClick": [Function],
          },
          {
            "id": "",
            "isSelected": [Function],
            "label": "Scale & Settings",
            "onClick": [Function],
          },
          {
            "children": [
              {
                "children": [
                  {
                    "children": [
                      {
                        "label": "string",
                      },
                      {
                        "label": "HasNulls: false",
                      },
                    ],
                    "label": "street",
                  },
                  {
                    "children": [
                      {
                        "label": "string",
                      },
                      {
                        "label": "HasNulls: true",
                      },
                    ],
                    "label": "line2",
                  },
                  {
                    "children": [
                      {
                        "label": "number",
                      },
                      {
                        "label": "HasNulls: false",
                      },
                    ],
                    "label": "zip",
                  },
                ],
                "label": "address",
              },
              {
                "children": [
                  {
                    "label": "string",
                  },
                  {
                    "label": "HasNulls: false",
                  },
                ],
                "label": "orderId",
              },
            ],
            "label": "Schema",
            "onClick": [Function],
          },
          {
            "children": [],
            "label": "Stored Procedures",
            "onExpanded": [Function],
          },
          {
            "children": [],
            "label": "User Defined Functions",
            "onExpanded": [Function],
          },
          {
            "children": [],
            "label": "Triggers",
            "onExpanded": [Function],
          },
        ],
        "className": "collectionNode",
        "contextMenu": [
          {
            "iconSrc": {},
            "label": "New SQL Query",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "New Stored Procedure",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "New UDF",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "New Trigger",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "Delete Container",
            "onClick": [Function],
            "styleClass": "deleteCollectionMenuItem",
          },
        ],
        "iconSrc": <EyeRegular
          fontSize={16}
        />,
        "isExpanded": true,
        "isSelected": [Function],
        "label": "schemaCollection",
        "onClick": [Function],
        "onCollapsed": [Function],
        "onContextMenuOpen": [Function],
        "onExpanded": [Function],
      },
      {
        "className": "loadMoreNode",
        "label": "load more",
        "onClick": [Function],
      },
    ],
    "className": "databaseNode",
    "contextMenu": [
      {
        "iconSrc": {},
        "label": "New Container",
        "onClick": [Function],
      },
      {
        "iconSrc": {},
        "label": "Delete Database",
        "onClick": [Function],
        "styleClass": "deleteDatabaseMenuItem",
      },
    ],
    "iconSrc": <DatabaseRegular
      fontSize={16}
    />,
    "isExpanded": true,
    "isSelected": [Function],
    "label": "giganticDatabase",
    "onCollapsed": [Function],
    "onContextMenuOpen": [Function],
    "onExpanded": [Function],
  },
]
`;

exports[`createDatabaseTreeNodes using NoSQL API on Hosted Platform creates expected tree 1`] = `
[
  {
    "children": [
      {
        "children": [
          {
            "contextMenu": [
              {
                "iconSrc": {},
                "label": "New SQL Query",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "New Stored Procedure",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "New UDF",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "New Trigger",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "Delete Container",
                "onClick": [Function],
                "styleClass": "deleteCollectionMenuItem",
              },
            ],
            "id": "",
            "isSelected": [Function],
            "label": "Items",
            "onClick": [Function],
          },
          {
            "id": "",
            "isSelected": [Function],
            "label": "Scale & Settings",
            "onClick": [Function],
          },
          {
            "children": [
              {
                "contextMenu": [
                  {
                    "iconSrc": {},
                    "label": "Delete Stored Procedure",
                    "onClick": [Function],
                  },
                ],
                "isSelected": [Function],
                "label": "mockSproc1",
                "onClick": [Function],
              },
            ],
            "label": "Stored Procedures",
            "onExpanded": [Function],
          },
          {
            "children": [
              {
                "contextMenu": [
                  {
                    "iconSrc": {},
                    "label": "Delete User Defined Function",
                    "onClick": [Function],
                  },
                ],
                "isSelected": [Function],
                "label": "mockUdf1",
                "onClick": [Function],
              },
            ],
            "label": "User Defined Functions",
            "onExpanded": [Function],
          },
          {
            "children": [
              {
                "contextMenu": [
                  {
                    "iconSrc": {},
                    "label": "Delete Trigger",
                    "onClick": [Function],
                  },
                ],
                "isSelected": [Function],
                "label": "mockTrigger1",
                "onClick": [Function],
              },
            ],
            "label": "Triggers",
            "onExpanded": [Function],
          },
        ],
        "className": "collectionNode",
        "contextMenu": [
          {
            "iconSrc": {},
            "label": "New SQL Query",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "New Stored Procedure",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "New UDF",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "New Trigger",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "Delete Container",
            "onClick": [Function],
            "styleClass": "deleteCollectionMenuItem",
          },
        ],
        "iconSrc": <EyeRegular
          fontSize={16}
        />,
        "isExpanded": true,
        "isSelected": [Function],
        "label": "standardCollection",
        "onClick": [Function],
        "onCollapsed": [Function],
        "onContextMenuOpen": [Function],
        "onExpanded": [Function],
      },
      {
        "children": [
          {
            "contextMenu": [
              {
                "iconSrc": {},
                "label": "New SQL Query",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "New Stored Procedure",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "New UDF",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "New Trigger",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "Delete Container",
                "onClick": [Function],
                "styleClass": "deleteCollectionMenuItem",
              },
            ],
            "id": "",
            "isSelected": [Function],
            "label": "Items",
            "onClick": [Function],
          },
          {
            "id": "",
            "isSelected": [Function],
            "label": "Scale & Settings",
            "onClick": [Function],
          },
          {
            "children": [],
            "label": "Stored Procedures",
            "onExpanded": [Function],
          },
          {
            "children": [],
            "label": "User Defined Functions",
            "onExpanded": [Function],
          },
          {
            "children": [],
            "label": "Triggers",
            "onExpanded": [Function],
          },
        ],
        "className": "collectionNode",
        "contextMenu": [
          {
            "iconSrc": {},
            "label": "New SQL Query",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "New Stored Procedure",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "New UDF",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "New Trigger",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "Delete Container",
            "onClick": [Function],
            "styleClass": "deleteCollectionMenuItem",
          },
        ],
        "iconSrc": <EyeRegular
          fontSize={16}
        />,
        "isExpanded": true,
        "isSelected": [Function],
        "label": "conflictsCollection",
        "onClick": [Function],
        "onCollapsed": [Function],
        "onContextMenuOpen": [Function],
        "onExpanded": [Function],
      },
    ],
    "className": "databaseNode",
    "contextMenu": [
      {
        "iconSrc": {},
        "label": "New Container",
        "onClick": [Function],
      },
      {
        "iconSrc": {},
        "label": "Delete Database",
        "onClick": [Function],
        "styleClass": "deleteDatabaseMenuItem",
      },
    ],
    "iconSrc": <DatabaseRegular
      fontSize={16}
    />,
    "isExpanded": true,
    "isSelected": [Function],
    "label": "standardDb",
    "onCollapsed": [Function],
    "onContextMenuOpen": [Function],
    "onExpanded": [Function],
  },
  {
    "children": [
      {
        "iconSrc": <SettingsRegular
          fontSize={16}
        />,
        "id": "",
        "isSelected": [Function],
        "label": "Scale",
        "onClick": [Function],
      },
      {
        "children": [
          {
            "contextMenu": [
              {
                "iconSrc": {},
                "label": "New SQL Query",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "New Stored Procedure",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "New UDF",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "New Trigger",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "Delete Container",
                "onClick": [Function],
                "styleClass": "deleteCollectionMenuItem",
              },
            ],
            "id": "sampleItems",
            "isSelected": [Function],
            "label": "Items",
            "onClick": [Function],
          },
          {
            "id": "sampleSettings",
            "isSelected": [Function],
            "label": "Settings",
            "onClick": [Function],
          },
          {
            "children": [],
            "label": "Stored Procedures",
            "onExpanded": [Function],
          },
          {
            "children": [],
            "label": "User Defined Functions",
            "onExpanded": [Function],
          },
          {
            "children": [],
            "label": "Triggers",
            "onExpanded": [Function],
          },
        ],
        "className": "collectionNode",
        "contextMenu": [
          {
            "iconSrc": {},
            "label": "New SQL Query",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "New Stored Procedure",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "New UDF",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "New Trigger",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "Delete Container",
            "onClick": [Function],
            "styleClass": "deleteCollectionMenuItem",
          },
        ],
        "iconSrc": <EyeRegular
          fontSize={16}
        />,
        "isExpanded": true,
        "isSelected": [Function],
        "label": "sampleItemsCollection",
        "onClick": [Function],
        "onCollapsed": [Function],
        "onContextMenuOpen": [Function],
        "onExpanded": [Function],
      },
    ],
    "className": "databaseNode",
    "contextMenu": [
      {
        "iconSrc": {},
        "label": "New Container",
        "onClick": [Function],
      },
      {
        "iconSrc": {},
        "label": "Delete Database",
        "onClick": [Function],
        "styleClass": "deleteDatabaseMenuItem",
      },
    ],
    "iconSrc": <DatabaseRegular
      fontSize={16}
    />,
    "isExpanded": true,
    "isSelected": [Function],
    "label": "sharedDatabase",
    "onCollapsed": [Function],
    "onContextMenuOpen": [Function],
    "onExpanded": [Function],
  },
  {
    "children": [
      {
        "children": [
          {
            "contextMenu": [
              {
                "iconSrc": {},
                "label": "New SQL Query",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "New Stored Procedure",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "New UDF",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "New Trigger",
                "onClick": [Function],
              },
              {
                "iconSrc": {},
                "label": "Delete Container",
                "onClick": [Function],
                "styleClass": "deleteCollectionMenuItem",
              },
            ],
            "id": "",
            "isSelected": [Function],
            "label": "Items",
            "onClick": [Function],
          },
          {
            "id": "",
            "isSelected": [Function],
            "label": "Scale & Settings",
            "onClick": [Function],
          },
          {
            "children": [
              {
                "children": [
                  {
                    "children": [
                      {
                        "label": "string",
                      },
                      {
                        "label": "HasNulls: false",
                      },
                    ],
                    "label": "street",
                  },
                  {
                    "children": [
                      {
                        "label": "string",
                      },
                      {
                        "label": "HasNulls: true",
                      },
                    ],
                    "label": "line2",
                  },
                  {
                    "children": [
                      {
                        "label": "number",
                      },
                      {
                        "label": "HasNulls: false",
                      },
                    ],
                    "label": "zip",
                  },
                ],
                "label": "address",
              },
              {
                "children": [
                  {
                    "label": "string",
                  },
                  {
                    "label": "HasNulls: false",
                  },
                ],
                "label": "orderId",
              },
            ],
            "label": "Schema",
            "onClick": [Function],
          },
          {
            "children": [],
            "label": "Stored Procedures",
            "onExpanded": [Function],
          },
          {
            "children": [],
            "label": "User Defined Functions",
            "onExpanded": [Function],
          },
          {
            "children": [],
            "label": "Triggers",
            "onExpanded": [Function],
          },
        ],
        "className": "collectionNode",
        "contextMenu": [
          {
            "iconSrc": {},
            "label": "New SQL Query",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "New Stored Procedure",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "New UDF",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "New Trigger",
            "onClick": [Function],
          },
          {
            "iconSrc": {},
            "label": "Delete Container",
            "onClick": [Function],
            "styleClass": "deleteCollectionMenuItem",
          },
        ],
        "iconSrc": <EyeRegular
          fontSize={16}
        />,
        "isExpanded": true,
        "isSelected": [Function],
        "label": "schemaCollection",
        "onClick": [Function],
        "onCollapsed": [Function],
        "onContextMenuOpen": [Function],
        "onExpanded": [Function],
      },
      {
        "className": "loadMoreNode",
        "label": "load more",
        "onClick": [Function],
      },
    ],
    "className": "databaseNode",
    "contextMenu": [
      {
        "iconSrc": {},
        "label": "New Container",
        "onClick": [Function],
      },
      {
        "iconSrc": {},
        "label": "Delete Database",
        "onClick": [Function],
        "styleClass": "deleteDatabaseMenuItem",
      },
    ],
    "iconSrc": <DatabaseRegular
      fontSize={16}
    />,
    "isExpanded": true,
    "isSelected": [Function],
    "label": "giganticDatabase",
    "onCollapsed": [Function],
    "onContextMenuOpen": [Function],
    "onExpanded": [Function],
  },
]
`;

exports[`createResourceTokenTreeNodes creates the expected tree nodes 1`] = `
[
  {
    "children": [
      {
        "isSelected": [Function],
        "label": "Items",
        "onClick": [Function],
      },
    ],
    "className": "collectionNode",
    "iconSrc": <DocumentMultipleRegular
      fontSize={16}
    />,
    "isExpanded": true,
    "isSelected": [Function],
    "label": "testCollection",
    "onClick": [Function],
  },
]
`;

exports[`createSampleDataTreeNodes creates the expected tree nodes 1`] = `
[
  {
    "children": [
      {
        "children": [
          {
            "contextMenu": [
              {
                "iconSrc": {},
                "label": "New SQL Query",
                "onClick": [Function],
              },
            ],
            "isSelected": [Function],
            "label": "Items",
            "onClick": [Function],
          },
        ],
        "className": "collectionNode",
        "contextMenu": [
          {
            "iconSrc": {},
            "label": "New SQL Query",
            "onClick": [Function],
          },
        ],
        "iconSrc": <DocumentMultipleRegular
          fontSize={16}
        />,
        "isExpanded": false,
        "isSelected": [Function],
        "label": "testCollection",
        "onClick": [Function],
        "onContextMenuOpen": [Function],
      },
    ],
    "className": "databaseNode",
    "isExpanded": false,
    "label": "testDatabase",
  },
]
`;
