I am new to gmock, forgive me for my ignoranceif I have a pure virtual class(interface) A://A.hppclass A{public:virtual void doSomeThing() = 0;}I want to mock A, and define a mock class mockA://mockA.hppclass mockA{public:MOCK_METHOD0(doSomeThing,void());}
how I should implement the mocked virtual method? if I put it into seperate cpp file like this://mockA.cpp#include "mockA.hpp"void mockA::doSomeThing(){......}is that right?