Is it possible with gmock to make fun of a function that contains a class template parameter in it? For instance:
template <typename T> struct Mockable { virtual void do_work(const int num, const T& value) = 0; }; template <typename T> struct MockMockable : Mockable<T> { MOCK_METHOD2(do_work, void(const int, const T&)); };
source share