def METHOD_NAME(self):
    loader = PyhoconLoader()
    assert loader.get_format() == ConfigFormat.PYHOCON
    loader._from_file = self.return_conf
    dicts = {
        "config": {
            "a": {
                "a1": 200,
            },
            "c": "hello",
            "d": [200, 400, 500],
            "e1": "Yes",
            "e2": "True",
            "e3": "NO",
        }
    }
    config = loader.load_config("test.conf")
    assert config.get_format() == ConfigFormat.PYHOCON
    conf = config.get_native_conf()
    print("conf=", conf)
    conf = conf.get_config("config")
    assert config is not None
    assert conf.get_config("a").get_int("a1") == 1
    assert conf.get_int("a.a1") == 1
    assert conf.get_int("b") == 1
    assert conf.get_string("c") == "hi"
    assert conf.get_list("d") == [1, 2]
    assert conf.get_string("e4", None) is None
    with pytest.raises(Exception):
        assert conf.get_string("d") == [1, 2]
    with pytest.raises(Exception):
        assert conf.get_string("d") == 1
    assert PyhoconConfig(CF.from_dict(conf.get("a"))).to_dict() == {"a1": 1, "a2": 2}
    with pytest.raises(Exception):
        assert conf.get_int("a") == 1