You could call this a form of stress inoculation: you learn to build up resistance to a bigger problem by voluntarily exposing yourself repeatedly to something similar, albeit in smaller doses or a milder form — Donald Robertson, How to think like a Roman emperor