def METHOD_NAME(session, entity):
    from dispatch.entity.service import delete, get
    entity_id = entity.id
    delete(db_session=session, entity_id=entity_id)
    assert not get(db_session=session, entity_id=entity_id)