ok I've seen it

then I think it's better to move it our of the mock definition and do it in a suiteSetup
otherwise you set it somewhere and remove it somewhere else.