code: def test_lang_bad_type(self):
      option = search.LangOption()
      with self.assertRaises(ValidationError):
          option.validate({})
  
imports: import json
  import unittest
  from unittest import mock
  from mkdocs.config.config_options import ValidationError
  from mkdocs.contrib import search
  from mkdocs.contrib.search import search_index
  from mkdocs.structure.files import File
  from mkdocs.structure.pages import Page
  from mkdocs.structure.toc import get_toc
  from mkdocs.tests.base import dedent, get_markdown_toc, load_config
label_desc: Use image node_id 8 for calling the SearchConfigTests obj's underlying member method code with example usage: obj.test_lang_bad_type() without return types