def test_add_documents(self, node_embeddings: List[TextNode]) -> None:
        """Test adding documents to Vertex AI Vector Search vector store."""
        vector_store = self.vector_store()

        # Add nodes to the Vertex AI Vector Search index
        input_doc_ids = [node_embedding.id_ for node_embedding in node_embeddings]
        doc_ids = vector_store.add(node_embeddings)

        # Ensure that all nodes are returned & they are the same as input
        assert len(doc_ids) == len(node_embeddings)
        for doc_id in doc_ids:
            assert doc_id in input_doc_ids
Test adding documents to Vertex AI Vector Search vector store.
llama-index-integrations/vector_stores/llama-index-vector-stores-vertexaivectorsearch/tests/test_vector_stores_vertexaivectorsearch.py