Avoid using expect_any_instance_of
Avoid using expect_any_instance_of

We can't use it for prepended module, so use
`and_wrap_original` to wrap around the instance.

stoplightio/gitlabhq,stoplightio/gitlabhq,jirutka/gitlabhq,axilleas/gitlabhq,mmkassem/gitlabhq,iiet/iiet-git,iiet/iiet-git,iiet/iiet-git,mmkassem/gitlabhq,axilleas/gitlabhq,axilleas/gitlabhq,iiet/iiet-git,dreampet/gitlab,stoplightio/gitlabhq,axilleas/gitlabhq,mmkassem/gitlabhq,dreampet/gitlab,jirutka/gitlabhq,dreampet/gitlab,jirutka/gitlabhq,stoplightio/gitlabhq,mmkassem/gitlabhq,jirutka/gitlabhq,dreampet/gitlab