code: def test_for_illegal_tokenizer(dataset_with_unknown_tokens):
      # Arrange
      tokenizer = "a"
  
      # Act & Assert
      assert_that(
          calling(UnknownTokens).with_args(tokenizer=tokenizer),
          raises(
              DeepchecksValueError,
              r'tokenizer must have a "tokenize" method',
          ),
      )
  
file_path: deepchecks/tests/nlp/checks/data_integrity/unknown_tokens_test.py
imports: import pytest
  from hamcrest import *
  from transformers import AutoTokenizer, BertTokenizer
  from deepchecks.core.errors import DeepchecksValueError
  from deepchecks.nlp.checks import UnknownTokens
  from deepchecks.nlp.text_data import TextData
  from deepchecks.utils.strings import format_percent
  from tests.base.utils import equal_condition_result
label_desc: Use image node_id 9 for calling a global function with example usage: test_for_illegal_tokenizer(dataset_with_unknown_tokens) without return types