code: def test_title_method_without_title():
      document = build_document(
          (
              "This is sentence",
              "This is another one",
          ),
          ("And some next sentence but no heading",),
      )
  
      summarizer = EdmundsonSummarizer()
      summarizer.null_words = (
          "this",
          "is",
          "some",
          "and",
      )
  
      sentences = summarizer.title_method(document, 10)
      assert list(map(to_unicode, sentences)) == [
          "This is sentence",
          "This is another one",
          "And some next sentence but no heading",
      ]
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import pytest
  from sumy._compat import to_unicode
  from sumy.summarizers.edmundson import EdmundsonSummarizer
  from ..utils import build_document, build_document_from_string
label_desc: Use image node_id 22 for calling a global function with example usage: test_title_method_without_title() without return types