title: Can a mock class inherit from another mock class in googlemock?
body: <p>Can a mock class inherit from another mock class in googlemock? If yes, then please help me in understanding why isn't this working.</p>
  
  <pre><code>class IA
  {
  public:
     virtual int test1(int a) = 0;
  };
  
  class IB : public IA
  {
  public:
     virtual float test2(float b) = 0;
  };
  
  class MockA : public IA
  {
  public:
     MOCK_METHOD1(test1, int (int a));
  };
  
  class MockB : public MockA, public IB
  {
  public:
     MOCK_METHOD1(test2, float (float b));
  };
  </code></pre>
  
  <p>I get a <code>cannot instantiate abstract class</code> compiler error for <code>MockB</code> but not for <code>MockA</code></p>