def METHOD_NAME():
    duplicate_name = "Test_name"
    Path("MULTFLT.TXT").write_text("", encoding="utf-8")
    Path("FAULT_TEMPLATE").write_text("", encoding="utf-8")
    config_dict = {
        ConfigKeys.GEN_DATA: [
            [
                duplicate_name,
                "INPUT_FORMAT:ASCII",
                "RESULT_FILE:snake_oil_opr_diff_%d.txt",
                "REPORT_STEPS:0,1,2,199",
            ],
        ],
        ConfigKeys.GEN_KW: [
            [
                duplicate_name,
                "FAULT_TEMPLATE",
                "MULTFLT.INC",
                "MULTFLT.TXT",
                "FORWARD_INIT:FALSE",
            ]
        ],
    }
    with pytest.raises(
        ConfigValidationError,
        match="GEN_KW and GEN_DATA contained duplicate name: Test_name",
    ):
        EnsembleConfig.from_dict(config_dict=config_dict)