code: def test_vectorize_tfidf_strategy():
      train_text = [
          "This document first"
          "second This document"
          "And one third"
          "Is document first"
      ]
      test_text = ["document allow", "spam not found", "is are"]
  
      train_data = InputData(
          idx=len(train_text),
          features=train_text,
          target=[0, 0, 1, 0],
          data_type=DataTypesEnum.text,
          task=Task(TaskTypesEnum.classification),
      )
      test_data = InputData(
          idx=len(test_text),
          features=test_text,
          target=[0, 1, 0],
          data_type=DataTypesEnum.text,
          task=Task(TaskTypesEnum.classification),
      )
  
      vectorizer = SkLearnTextVectorizeStrategy(
          operation_type="tfidf", params=None
      )
  
      vectorizer_fitted = vectorizer.fit(train_data)
  
      predicted = vectorizer.predict(
          trained_operation=vectorizer_fitted, predict_data=test_data
      )
      predicted_labels = predicted.predict
  
      assert isinstance(vectorizer_fitted, TfidfVectorizer)
      assert len(predicted_labels[0]) == 7
  
file_path: FEDOT/test/integration/models/test_strategy.py
imports: import numpy
  from sklearn.feature_extraction.text import TfidfVectorizer
  from sklearn.metrics import roc_auc_score, mean_squared_error
  from fedot.core.data.data import InputData
  from fedot.core.data.data_split import train_test_data_setup
  from fedot.core.operations.evaluation.text import SkLearnTextVectorizeStrategy
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.core.pipelines.pipeline_builder import PipelineBuilder
  from fedot.core.repository.dataset_types import DataTypesEnum
  from fedot.core.repository.operation_types_repository import OperationTypesRepository
  from fedot.core.repository.tasks import Task, TaskTypesEnum
  from test.unit.pipelines.test_decompose_pipelines import get_classification_data
  from test.unit.tasks.test_regression import get_synthetic_regression_data
label_desc: Use image node_id 1 for calling a global function with example usage: test_vectorize_tfidf_strategy() without return types