code: def test_to_params(self):
      params = self.dep_parse_splitter.to_params()
      assert isinstance(params, Params)
      assert params.params == {
          "type": "spacy",
          "language": self.dep_parse_splitter._language,
          "rule_based": self.dep_parse_splitter._rule_based,
      }
  
file_path: allennlp/tests/data/tokenizers/sentence_splitter_test.py
imports: from allennlp.common import Params
  from allennlp.common.testing import AllenNlpTestCase
  from allennlp.data.tokenizers.sentence_splitter import SpacySentenceSplitter
label_desc: Use image node_id 6 for calling the TestSentenceSplitter obj's underlying member method code with example usage: obj.test_to_params() without return types