code: def test_break_to_lines_and_trim():
      text = (
          "This is a very long text that should be broken into lines. "
      )
      # Text is 59 characters long and has 12 words.
  
      # Check no change if text is short enough:
      res_text = break_to_lines_and_trim(
          text, max_lines=3, min_line_length=55, max_line_length=65
      )
      assert_that(res_text, equal_to(text.strip()))
  
      # Check that text is broken into lines:
      res_text = break_to_lines_and_trim(
          text, max_lines=3, min_line_length=15, max_line_length=25
      )
      assert_that(
          res_text,
          equal_to(
              "This is a very long text<br>that should be broken<br>into lines."
          ),
      )
  
      # Check that text is trimmed to max_lines:
      res_text = break_to_lines_and_trim(
          text, max_lines=2, min_line_length=15, max_line_length=25
      )
      assert_that(
          res_text,
          equal_to(
              "This is a very long text<br>that should be broken..."
          ),
      )
  
      # Check that text with no delimiters is broken in the middle of the line:
      res_text = break_to_lines_and_trim(
          text, max_lines=3, min_line_length=12, max_line_length=13
      )
      assert_that(
          res_text,
          equal_to(
              "This is a ver-<br>y long text t-<br>hat should be..."
          ),
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_break_to_lines_and_trim() without return types