Call by ref and call by value in mockers for method invocation tracking.