def test_recommend_emptyDocuments_failure(self):
        """
        Test that the recommender fails when documents is empty
        """
        with self.assertRaisesStrict(InvalidArgumentError):
            self.recommender.recommend(
                index_name=self.unstructured_text_index.name,
                documents=None
            )

        with self.assertRaisesStrict(InvalidArgumentError):
            self.recommender.recommend(
                index_name=self.unstructured_text_index.name,
                documents=[]
            )

        Test that the recommender fails when documents is empty
        
tests/integ_tests/core/search/test_recommender.py