docstr: Test that the list_collections method of PineconeHook is called correctly.
docstr_tok: ["Test","that","the","list_collections","method","of","PineconeHook","is","called","correctly","."]
code: def test_list_collections(self, mock_list_collections):
      """
      Test that the list_collections method of PineconeHook is called correctly.
      """
      self.pinecone_hook.list_collections()
      mock_list_collections.assert_called_once()
  
file_path: airflow/tests/providers/pinecone/hooks/test_pinecone.py
imports: from __future__ import annotations
  from unittest.mock import Mock, patch
  from airflow.providers.pinecone.hooks.pinecone import PineconeHook
label_desc: Use image node_id 10 for calling the TestPineconeHook obj's underlying member method code with example usage: obj.test_list_collections(mock_list_collections) without return types