code: def test_set_properties_with_an_incorrect_list_of_categorical_columns(
      text_classification_dataset_mock,
  ):
      # Arrange
      dataset = text_classification_dataset_mock
      properties = pd.DataFrame(
          {"text_length": [1, 2, 3], "average_word_length": [4, 5, 6]}
      )
  
      # Act/Assert
      assert_that(
          calling(dataset.set_properties).with_args(
              properties, categorical_properties=["foo"]
          ),
          raises(
              DeepchecksValueError,
              r"The following columns does not exist in Properties - \['foo'\]",
          ),
      )
  
imports: import numpy
  import pandas
  from hamcrest import assert_that, calling, contains_exactly, equal_to, raises
  from deepchecks.core.errors import DeepchecksValueError
  from deepchecks.nlp.text_data import TextData
label_desc: Use image node_id 18 for calling a global function with example usage: test_set_properties_with_an_incorrect_list_of_categorical_columns(text_classification_dataset_mock) without return types