When DoAndReturn checks the number of input parameters of the function, it does not consider the variable-length parameters, resulting in the failure of the mock variable-length parameter function.
In version 1.5.0, there is no feature of checking the number of parameters, so there is no problem.
When DoAndReturn checks the number of input parameters of the function, it does not consider the variable-length parameters, resulting in the failure of the mock variable-length parameter function. In version 1.5.0, there is no feature of checking the number of parameters, so there is no problem.