def METHOD_NAME(maskfile, plugin, tmpdir, infile):
    """wf with one task that runs fsl.bet using BoshTask"""
    wf = Workflow(name="wf", input_spec=["maskfile", "infile"])
    wf.inputs.maskfile = maskfile
    wf.inputs.infile = infile
    wf.cache_dir = tmpdir
    wf.add(
        BoshTask(
            name="bet",
            zenodo_id="1482743",
            infile=wf.lzin.infile,
            maskfile=wf.lzin.maskfile,
        )
    )
    wf.set_output([("outfile", wf.bet.lzout.outfile)])
    with Submitter(plugin=plugin) as sub:
        wf(submitter=sub)
    res = wf.result()
    assert res.output.outfile.name == "test_brain.nii.gz"
    assert res.output.outfile.exists()