def METHOD_NAME():
    input_map = dict(
        args=dict(
            argstr="%s",
        ),
        b0_file=dict(
            argstr="-b0 %s",
            extensions=None,
            position=4,
        ),
        ball_flag=dict(
            argstr="-ball",
            position=6,
            xor=[
                "mono_flag",
                "ivim_flag",
                "dti_flag",
                "dti_flag2",
                "ballv_flag",
                "nod_flag",
                "nodv_flag",
            ],
        ),
        ballv_flag=dict(
            argstr="-ballv",
            position=6,
            xor=[
                "mono_flag",
                "ivim_flag",
                "dti_flag",
                "dti_flag2",
                "ball_flag",
                "nod_flag",
                "nodv_flag",
            ],
        ),
        bval_file=dict(
            argstr="-bval %s",
            extensions=None,
            mandatory=True,
            position=2,
        ),
        bvec_file=dict(
            argstr="-bvec %s",
            extensions=None,
            position=3,
        ),
        diso_val=dict(
            argstr="-diso %f",
        ),
        dpr_val=dict(
            argstr="-dpr %f",
        ),
        dti_flag=dict(
            argstr="-dti",
            position=6,
            xor=[
                "mono_flag",
                "ivim_flag",
                "dti_flag2",
                "ball_flag",
                "ballv_flag",
                "nod_flag",
                "nodv_flag",
            ],
        ),
        dti_flag2=dict(
            argstr="-dti2",
            position=6,
            xor=[
                "mono_flag",
                "ivim_flag",
                "dti_flag",
                "ball_flag",
                "ballv_flag",
                "nod_flag",
                "nodv_flag",
            ],
        ),
        environ=dict(
            nohash=True,
            usedefault=True,
        ),
        famap_file=dict(
            argstr="-famap %s",
            extensions=None,
            name_source=["source_file"],
            name_template="%s_famap.nii.gz",
        ),
        ivim_flag=dict(
            argstr="-ivim",
            position=6,
            xor=[
                "mono_flag",
                "dti_flag",
                "dti_flag2",
                "ball_flag",
                "ballv_flag",
                "nod_flag",
                "nodv_flag",
            ],
        ),
        logdti_file=dict(
            argstr="-logdti2 %s",
            extensions=None,
            name_source=["source_file"],
            name_template="%s_logdti2.nii.gz",
        ),
        mask_file=dict(
            argstr="-mask %s",
            extensions=None,
            position=5,
        ),
        mcmap_file=dict(
            argstr="-mcmap %s",
            extensions=None,
            name_source=["source_file"],
            name_template="%s_mcmap.nii.gz",
        ),
        mdmap_file=dict(
            argstr="-mdmap %s",
            extensions=None,
            name_source=["source_file"],
            name_template="%s_mdmap.nii.gz",
        ),
        mono_flag=dict(
            argstr="-mono",
            position=6,
            xor=[
                "ivim_flag",
                "dti_flag",
                "dti_flag2",
                "ball_flag",
                "ballv_flag",
                "nod_flag",
                "nodv_flag",
            ],
        ),
        nod_flag=dict(
            argstr="-nod",
            position=6,
            xor=[
                "mono_flag",
                "ivim_flag",
                "dti_flag",
                "dti_flag2",
                "ball_flag",
                "ballv_flag",
                "nodv_flag",
            ],
        ),
        nodv_flag=dict(
            argstr="-nodv",
            position=6,
            xor=[
                "mono_flag",
                "ivim_flag",
                "dti_flag",
                "dti_flag2",
                "ball_flag",
                "ballv_flag",
                "nod_flag",
            ],
        ),
        rgbmap_file=dict(
            argstr="-rgbmap %s",
            extensions=None,
            name_source=["source_file"],
            name_template="%s_rgbmap.nii.gz",
        ),
        source_file=dict(
            argstr="-source %s",
            extensions=None,
            mandatory=True,
            position=1,
        ),
        syn_file=dict(
            argstr="-syn %s",
            extensions=None,
            name_source=["source_file"],
            name_template="%s_syn.nii.gz",
            requires=["bvec_file", "b0_file"],
        ),
        v1map_file=dict(
            argstr="-v1map %s",
            extensions=None,
            name_source=["source_file"],
            name_template="%s_v1map.nii.gz",
        ),
    )
    inputs = DwiTool.input_spec()
    for key, metadata in list(input_map.items()):
        for metakey, value in list(metadata.items()):
            assert getattr(inputs.traits()[key], metakey) == value