I use gmock to bully my dependencies in legacy code. One of the classes has a method with 11 parameters. When I tried to use MOCK_METHOD11_WITH_CALLTYPE to mock it, I found that this macro does not exist. gmock only supports up to 10 parameters. What do you suggest for this? Am I implementing this method using a dummy body? Or copy and expand a macro? Thank!
PS, I don’t need to mock this method in my tests right now, but I probably need to do this in the future.
Yours faithfully,
source
share