code: def test_ja_tokenizer(ja_tokenizer, text, expected_tokens):
      tokens = [token.text for token in ja_tokenizer(text)]
      assert tokens == expected_tokens
  
file_path: spaCy/spacy/tests/lang/ja/test_tokenizer.py
imports: import pytest
  from spacy.lang.ja import DetailedToken, Japanese
  from ...tokenizer.test_naughty_strings import NAUGHTY_STRINGS
label_desc: Use image node_id 2 for calling a global function with example usage: test_ja_tokenizer(ja_tokenizer, text, expected_tokens) without return types