Use monkey patching to fix mocker