code: def test_more_sentences_than_requested():
      document = build_document_from_string(
          """
          # Heading one
          First sentence.
          Second sentence.
          Third sentence.
  
          # Heading two
          I like sentences
          They are so wordy
          And have many many letters
          And are green in my editor
          But someone doesn't like them :(
      """
      )
      summarizer = RandomSummarizer()
  
      sentences = summarizer(document, 4)
      assert len(sentences) == 4
  
file_path: sumy/tests/test_summarizers/test_random.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  from functools import partial
  from sumy._compat import to_unicode
  from sumy.summarizers.random import RandomSummarizer
  from ..utils import build_document, build_document_from_string
label_desc: Use image node_id 4 for calling a global function with example usage: test_more_sentences_than_requested() without return types