def METHOD_NAME():
    pybuffer = dp3.DPBuffer()
    step = dp3.make_step(
        "null", dp3.parameterset.ParameterSet(), "", dp3.MsType.regular
    )
    # Using 'step._step' avoids StepWrapper checks.
    step._step.process(pybuffer)
    # After passing a DPBuffer to step.process, it becomes invalid.
    with pytest.raises(RuntimeError):
        pybuffer.get_time()
    with pytest.raises(RuntimeError):
        step._step.process(pybuffer)