code: def test_load_schema(self) -> None:
      self.assertEqual(
          self.mapper.map_with_type(
              {
                  "my_schema": {
                      "my_bool": True,
                      "my_int": -2,
                      "my_float": 3.14,
                      # Test mixedCase to lower_case conversion.
                      "myStr": "bar",
                      "my_enum": "eggs",
                      "my_optional_str": None,
                      "my_list": ["spam", "ham"],
                      "my_dict": {"eggs": 6},
                  },
                  "my_list_of_schemas": [{}],
                  "my_dict_of_schemas": {
                      "only": {"my_help_text": "a nice value!"}
                  },
              },
              SampleOuterConfig,
          ),
          SampleOuterConfig(
              my_schema=SampleConfigTypes(
                  my_bool=True,
                  my_int=-2,
                  my_float=3.14,
                  my_str="bar",
                  my_enum=SampleEnum.EGGS,
                  my_optional_str=None,
                  my_list=["spam", "ham"],
                  my_dict={"eggs": 6},
              ),
              my_list_of_schemas=[SampleConfigDefault(my_default=1)],
              my_dict_of_schemas={
                  "only": SampleConfigHelp(my_help_text="a nice value!")
              },
          ),
      )
  
imports: from enum import Enum
  from typing import ClassVar, Dict, List, Optional, Union
  from unittest import main, TestCase
  import attr
  from torchbiggraph.schema import Dumper, extract_nested_type, inject_nested_value, Loader, Schema, schema, unpack_optional
label_desc: Use image node_id 5 for calling the TestLoader obj's underlying member method code with example usage: obj.test_load_schema() without return types