def METHOD_NAME():
    """Test different startup params for MpConfigEdit."""
    config_path = Path(TEST_DATA_PATH).joinpath("msticpyconfig.yaml")
    with open(config_path, "r", encoding="utf-8") as conf_fh:
        settings = yaml.safe_load(conf_fh)
    orig_settings = deepcopy(settings)
    orig_resgroup = orig_settings["AzureSentinel"]["Workspaces"]["Default"].get(
        "ResourceGroup"
    )
    # edit the settings so we know that we're checking the same data
    # - not the default
    settings["AzureSentinel"]["Workspaces"]["Default"]["ResourceGroup"] = "TestMarker"
    test_path = "AzureSentinel.Workspaces.Default.ResourceGroup"
    # pass MpConfigFile instance
    mpc_file = MpConfigFile(settings=settings)
    mp_conf = MpConfigEdit(settings=mpc_file)
    check.equal(mp_conf.mp_controls.mp_config, settings, "MpConfigFile")
    check.equal(mp_conf.mp_controls.get_value(test_path), "TestMarker", "File path")
    # pass settings dict
    mp_conf = MpConfigEdit(settings=mpc_file.settings)
    check.equal(mp_conf.mp_controls.mp_config, settings, "Settings dict")
    check.equal(mp_conf.mp_controls.get_value(test_path), "TestMarker", "File path")
    # In these last tests we can't check for dict equality since MpConfigEdit
    # adds blank values for top level keys
    # pass file_path
    mp_conf = MpConfigEdit(settings=str(config_path))
    check.is_false(
        orig_settings.keys() - mp_conf.mp_controls.mp_config.keys(), "File path"
    )
    check.equal(mp_conf.mp_controls.get_value(test_path), orig_resgroup, "Default")
    for key in orig_settings.keys():
        check.equal(orig_settings[key], mp_conf.mp_controls.mp_config[key])
    # Use default - existing file
    with custom_mp_config(str(config_path)):
        mp_conf = MpConfigEdit()
        check.equal(mp_conf.mp_controls.get_value(test_path), orig_resgroup, "Default")
        check.is_false(
            orig_settings.keys() - mp_conf.mp_controls.mp_config.keys(), "Default"
        )
        for key in orig_settings.keys():
            check.equal(orig_settings[key], mp_conf.mp_controls.mp_config[key])
    # Test invalid file in MPConfig env and with file parameter.
    # should load without exception
    with custom_mp_config(str(config_path)):
        os.environ["MSTICPYCONFIG"] = "./invalid_file.yaml"
        mp_conf = MpConfigEdit()
        mp_conf = MpConfigEdit(settings="./invalid_file.yaml")