def test_recommend_searchCallValid_success(self):
        """
        Test that the recommender calls the search method with the correct arguments

        This test is a shortcut to avoid testing arguments that are passed to the search method unchanged and do not
        affect recommender logic directly.
        """
        for index in [self.unstructured_text_index, self.structured_text_index]:
            with self.subTest(type=index.type):
                self._populate_index(index)

                with mock.patch.object(tensor_search, "search") as mock_search:
                    self.recommender.recommend(
                        index_name=index.name,
                        documents=["1", "2"],
                        result_count=10,
                        offset=5,
                        highlights=True,
                        ef_search=10,
                        approximate=True,
                        searchable_attributes=['title'],
                        verbose=1,
                        reranker='bm25',
                        attributes_to_retrieve=['title'],
                        score_modifiers=ScoreModifierLists(
                            multiply_score_by=[ScoreModifierOperator(field_name="title", weight=1)]
                        )
                    )

                    mock_search.assert_called_once_with(
                        mock.ANY,
                        index.name,
                        text=None,
                        context=mock.ANY,
                        result_count=10,
                        offset=5,
                        highlights=True,
                        ef_search=10,
                        approximate=True,
                        searchable_attributes=['title'],
                        verbose=1,
                        reranker='bm25',
                        filter=mock.ANY,
                        attributes_to_retrieve=['title'],
                        score_modifiers=ScoreModifierLists(
                            multiply_score_by=[ScoreModifierOperator(field_name="title", weight=1)]
                        ),
                        processing_start=mock.ANY,
                        rerank_depth=None
                    )

                # Repeat with different values to ensure it didn't pass due to default values matching
                # the test case
                with mock.patch.object(tensor_search, "search") as mock_search:
                    self.recommender.recommend(
                        index_name=index.name,
                        documents=["1", "2"],
                        result_count=20,
                        offset=10,
                        highlights=False,
                        ef_search=100,
                        approximate=False,
                        searchable_attributes=['title'],
                        verbose=2,
                        reranker='bm25',
                        attributes_to_retrieve=['title'],
                        score_modifiers=ScoreModifierLists(
                            multiply_score_by=[ScoreModifierOperator(field_name="title", weight=1)]
                        ),
                    )

                    mock_search.assert_called_once_with(
                        mock.ANY,
                        index.name,
                        text=None,
                        context=mock.ANY,
                        result_count=20,
                        offset=10,
                        highlights=False,
                        ef_search=100,
                        approximate=False,
                        searchable_attributes=['title'],
                        verbose=2,
                        reranker='bm25',
                        filter=mock.ANY,
                        attributes_to_retrieve=['title'],
                        score_modifiers=ScoreModifierLists(
                            multiply_score_by=[ScoreModifierOperator(field_name="title", weight=1)]
                        ),
                        processing_start=mock.ANY,
                        rerank_depth=None
                    )

        Test that the recommender calls the search method with the correct arguments

        This test is a shortcut to avoid testing arguments that are passed to the search method unchanged and do not
        affect recommender logic directly.
        
tests/integ_tests/core/search/test_recommender.py