```bash ./utest/mock/b_mock.h: At global scope: ./utest/mock/b_mock.h:59:17: error: ‘testMethod’ is not a type MOCK_METHOD11(testMethod, ^~~~~~~~~~
C++的报错就是这么让人摸不着头脑,代码仔细走查了一下,没啥问题,于是上网搜索,Google+ChatGPT,最开始我的重点放在了‘testMethod’ is not a type,但是这个不是根因,根因其实是这个因为我们使用的gmock是1.7版本,低版本的gmock不支持mock大于10个参数的方法,参考
Me: which version of gmock support mock function over 10 arguments?
ChatGPT3.5 As an AI language model, I do not have access to the current status of gmock. However, according to the official documentation of Google Test, the latest version of gmock (at the time of writing this) is version 1.10.0, which supports mocking of functions with up to 10 arguments using the gmock-generated function mockers. However, it is possible to write custom matchers and action templates to support more than 10 arguments.