Does this function actually get called?

mockRequest only takes the 3 arguments and I don't see any access to the arguments array in mockRequest.