def METHOD_NAME():
    config_dict = {
        ConfigKeys.NUM_REALIZATIONS: 10,
        ConfigKeys.ANALYSIS_SET_VAR: [["STD_ENKF", "BAR", "1"]],
    }
    with pytest.raises(
        ConfigValidationError, match="Variable 'BAR' not found in 'STD_ENKF' analysis"
    ):
        _ = AnalysisConfig.from_dict(config_dict)