def METHOD_NAME(
    script_runner, mock_filtering, in_fodf, out_fodf, sym_fodf):
    os.chdir(os.path.expanduser(tmp_dir.name))
    ret = script_runner.run('scil_execute_angle_aware_bilateral_filtering.py',
                            in_fodf,
                            'out_fodf2.nii.gz',
                            '--out_sym', 'out_sym.nii.gz',
                            '--sphere', 'repulsion100',
                            '--sigma_angular', '1.0',
                            '--sigma_spatial', '1.0',
                            '--sigma_range', '1.0',
                            '--sh_basis', 'descoteaux07',
                            '--processes', '1', '-f',
                            print_result=True, shell=True)
    assert ret.success
    mock_filtering.assert_called_once()
    ret_sym_fodf = nib.load("out_sym.nii.gz")
    test_sym_fodf = nib.load(sym_fodf)
    assert np.allclose(ret_sym_fodf.get_fdata(), test_sym_fodf.get_fdata())