def METHOD_NAME(ds001419_data, tmp_path_factory):
    """Test xcp_d.interfaces.nilearn.BinaryMath."""
    tmpdir = tmp_path_factory.mktemp("test_nilearn_binarymath")
    in_file = ds001419_data["brain_mask_file"]
    interface = nilearn.BinaryMath(
        in_file=in_file,
        expression="img * 5",
        out_file="mathed.nii.gz",
    )
    results = interface.run(cwd=tmpdir)
    assert os.path.isfile(results.outputs.out_file)
    out_img = nb.load(results.outputs.out_file)
    out_data = out_img.get_fdata()
    assert np.max(out_data) == 5
    assert np.min(out_data) == 0