title: Using Google Mocks, how to give a mock implementation without caring about / setting any expectation of invocation
body: <p>I have an interface class say:</p>
  
  <pre><code>class MyInterface
  {
  public:
      virtual int doThing(int x, int y, int z) = 0;
  };
  </code></pre>
  
  <p>I want to write a mock implementation for use in my tests. E.g.Traditionally, without using Google Mocks, I would write say:</p>
  
  <pre><code>class MyMock : public MyInterface
  {
  public:
      virtual int doThing(int x, int y, int z)
      {
          if (x == 1)
              return y + z;
          else
              return y - z;
      }
  };
  </code></pre>
  
  <p>How would I do this in google mocks. Please note, I don't want to (Ok, I don't need to) set an expectation about how this mock is called. I'm just using it to test something else.</p>
  
  <p>How would you do it (and what is the most clearest way)? I find the google mocks documentation a little too concise to figure this out.</p>