def METHOD_NAME():
    workflow_object = workflow_object_class.create(
        data={},
        id_user=1,
        data_type="hep"
    )
    workflow_object.save()
    db.session.commit()
    workflow_object.continue_workflow = lambda **args: True
    yield workflow_object
    WorkflowObjectModel.query.filter_by(id=workflow_object.id).delete()
    db.session.commit()