Halo: Fix mock_method() when used with uopz.
Halo: Fix mock_method() when used with uopz.

Reviewed at https://reviews.lunr.nl/r/538/

tardypad/lunr,pprkut/lunr,pprkut/lunr,tardypad/lunr,tardypad/lunr,pprkut/lunr,M2Mobi/lunr,M2Mobi/lunr,M2Mobi/lunr