def METHOD_NAME(monkeypatch, moving):
    """ the BBRegister report capable test """
    def _agg(objekt, runtime):
        outputs = objekt.output_spec()
        outputs.out_lta_file = os.path.join(
            datadir, "testBBRegisterRPT-out_lta_file.lta"
        )
        outputs.out_report = os.path.join(runtime.cwd, objekt.inputs.out_report)
        return outputs
    # Patch the _run_interface method
    monkeypatch.setattr(BBRegisterRPT, "_run_interface", _run_interface_mock)
    monkeypatch.setattr(BBRegisterRPT, "aggregate_outputs", _agg)
    subject_id = "fsaverage"
    bbregister_rpt = BBRegisterRPT(
        generate_report=True,
        contrast_type="t1",
        init="fsl",
        source_file=moving,
        subject_id=subject_id,
        registered_file=True,
    )
    _smoke_test_report(bbregister_rpt, "testBBRegister.svg")