code: def test_yaml_meta_data_invalid(self):
      doc = dedent(
          """
              ---
              foo: bar: baz
              ---
              Doc body
              """
      )
      self.assertEqual(meta.get_data(doc), (doc, {}))
  
imports: import dataclasses
  import datetime
  import logging
  import os
  import posixpath
  import stat
  import unittest
  from unittest import mock
  from mkdocs import exceptions, utils
  from mkdocs.tests.base import dedent, tempdir
  from mkdocs.utils import meta
label_desc: Use image node_id 21 for calling the UtilsTests obj's underlying member method code with example usage: obj.test_yaml_meta_data_invalid() without return types