code: def test_noun_chunker(
      nlp: Language, text: str, chunks: List[str], name
  ):
      doc = nlp(text)
      assert [s.text for s in doc.noun_chunks] == chunks
  
file_path: camphr/packages/camphr_knp/tests/test_noun_chunker.py
imports: from camphr_knp import create_knp_nlp
  from typing import List
  import pytest
  from spacy.language import Language
  from .utils import check_knp
label_desc: Use image node_id 2 for calling a global function with example usage: test_noun_chunker(nlp, text, chunks, name) without return types