EE: Avoid expect_any_instance_of because it doesn't work
EE counterpart of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/13191
I just realized that the file was only identical in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2554 because CE to EE on Friday isn't done yet :o