code: def test_metrics_without_data(
      mocked_client, metric, expected_results, monkeypatch
  ):
      dataset = "test_metrics_without_data"
      delete_ignoring_errors(dataset)
  
      text = "M"
      tokens = text.split(" ")
      log(
          TokenClassificationRecord(
              id=1,
              text=text,
              tokens=tokens,
          ),
          name=dataset,
      )
  
      results = metric(dataset)
      assert results
      assert results.data == expected_results
      results.visualize()
  
imports: import argilla
  import pytest
  from argilla.client.api import load, log
  from argilla.client.models import TokenClassificationRecord
  from argilla.metrics import entity_consistency
  from argilla.metrics.token_classification import Annotations, entity_capitalness, entity_density, entity_labels, f1, mention_length, token_capitalness, token_frequency, token_length, tokens_length, top_k_mentions
  from tests.integration.utils import delete_ignoring_errors
label_desc: Use image node_id 14 for calling a global function with example usage: test_metrics_without_data(mocked_client, metric, expected_results, monkeypatch) without return types