def METHOD_NAME():
    with pytest.raises(ValueError, match="stat_img not to be None"):
        threshold_stats_img(None, None, alpha=0.05, height_control="fdr")
    with pytest.raises(ValueError, match="stat_img not to be None"):
        threshold_stats_img(
            None, None, alpha=0.05, height_control="bonferroni"
        )
    with pytest.raises(ValueError, match="height control should be one of"):
        threshold_stats_img(None, None, alpha=0.05, height_control="plop")