code: def test_with_empty_string(dataset_with_empty_string):
      # Arrange
      min_substrings = 1
      min_substring_ratio = 0.05
      check = FrequentSubstrings(
          min_substring_ratio=min_substring_ratio
      ).add_condition_zero_result()
  
      # Act
      result = check.run(dataset=dataset_with_empty_string)
      conditions_decision = check.conditions_decision(result)
  
      # Assert
      assert_that(
          conditions_decision[0],
          equal_condition_result(
              is_pass=True,
              details="Found 0 substrings with ratio above threshold",
              name=f"No more than {min_substrings} substrings with ratio above {min_substring_ratio}",
          ),
      )
      assert_that(result.value, equal_to({}))
  
file_path: deepchecks/tests/nlp/checks/data_integrity/frequent_substrings_test.py
imports: import pytest
  from hamcrest import *
  from deepchecks.nlp.checks.data_integrity.frequent_substrings import FrequentSubstrings
  from deepchecks.nlp.text_data import TextData
  from tests.base.utils import equal_condition_result
label_desc: Use image node_id 8 for calling a global function with example usage: test_with_empty_string(dataset_with_empty_string) without return types