def METHOD_NAME(target_case, expected, format_mode, poly_case):
    ert = poly_case
    args = Namespace(current_case="default", target_case=target_case)
    assert (
        model_factory._target_case_name(ert, args, format_mode=format_mode) == expected
    )