def METHOD_NAME(ds001419_data):
    """Test xcp_d.interfaces.concatenation.FilterOutFailedRuns."""
    nifti_file = ds001419_data["nifti_file"]
    tsv_file = ds001419_data["confounds_file"]
    censored_denoised_bold = [Undefined, nifti_file, Undefined, Undefined, nifti_file]
    n_runs = len(censored_denoised_bold)
    n_good_runs = 2
    preprocessed_bold = [nifti_file] * n_runs
    fmriprep_confounds_file = [tsv_file] * n_runs
    filtered_motion = [tsv_file] * n_runs
    temporal_mask = [nifti_file] * n_runs
    uncensored_denoised_bold = [nifti_file] * n_runs
    interpolated_filtered_bold = [nifti_file] * n_runs
    # Some can just be Undefined
    smoothed_denoised_bold = Undefined
    bold_mask = Undefined
    boldref = Undefined
    anat_to_native_xfm = Undefined
    # Now the lists of lists
    timeseries = [[tsv_file, tsv_file, tsv_file]] * n_runs
    timeseries_ciftis = [[nifti_file, nifti_file, nifti_file]] * n_runs
    interface = concatenation.FilterOutFailedRuns(
        censored_denoised_bold=censored_denoised_bold,
        preprocessed_bold=preprocessed_bold,
        fmriprep_confounds_file=fmriprep_confounds_file,
        filtered_motion=filtered_motion,
        temporal_mask=temporal_mask,
        uncensored_denoised_bold=uncensored_denoised_bold,
        interpolated_filtered_bold=interpolated_filtered_bold,
        smoothed_denoised_bold=smoothed_denoised_bold,
        bold_mask=bold_mask,
        boldref=boldref,
        anat_to_native_xfm=anat_to_native_xfm,
        timeseries=timeseries,
        timeseries_ciftis=timeseries_ciftis,
    )
    results = interface.run()
    out = results.outputs
    assert len(out.censored_denoised_bold) == n_good_runs
    assert len(out.preprocessed_bold) == n_good_runs
    assert len(out.fmriprep_confounds_file) == n_good_runs
    assert len(out.filtered_motion) == n_good_runs
    assert len(out.temporal_mask) == n_good_runs
    assert len(out.uncensored_denoised_bold) == n_good_runs
    assert len(out.interpolated_filtered_bold) == n_good_runs
    assert len(out.smoothed_denoised_bold) == n_good_runs
    assert len(out.bold_mask) == n_good_runs
    assert len(out.boldref) == n_good_runs
    assert len(out.anat_to_native_xfm) == n_good_runs
    assert len(out.timeseries) == n_good_runs
    assert len(out.timeseries_ciftis) == n_good_runs