code: def test_call_works_when_names_are_specified(self) -> None:
      s = "1\t2\t3"
  
      splitter = StrSplitter(names=["a", "b", "c"])
  
      assert splitter(s) == {"a": "1", "b": "2", "c": "3"}
  
file_path: fairseq2/tests/unit/data/text/test_str_splitter.py
imports: from typing import Sequence
  import pytest
  from fairseq2.data.text.converters import StrSplitter
label_desc: Use image node_id 6 for calling the TestStrSplitter obj's underlying member method code with example usage: obj.test_call_works_when_names_are_specified() without return types