def METHOD_NAME(workflow_app):
    record = InspireRecord.create({
        '$schema': 'http://localhost:5000/schemas/records/hep.json',
        '_collections': ['Literature'],
        'document_type': ['thesis'],
        'titles': [{'title': 'foo'}],
    })
    yield record
    record._delete(force=True)