title: Google Mock - how to name mock functions?
body: <p>I am just getting started with Google Mock.  The <a href="https://code.google.com/p/googlemock/wiki/ForDummies" rel="noreferrer">For Dummies</a> is reasonably easy to follow.</p>
  
  <p>However, I don't understand why the example has </p>
  
  <pre><code>class MockTurtle : public Turtle {
   public:
    ...
    MOCK_METHOD0(PenUp, void());
    MOCK_METHOD0(PenDown, void());
    MOCK_METHOD1(Forward, void(int distance));
    MOCK_METHOD1(Turn, void(int degrees));
    MOCK_METHOD2(GoTo, void(int x, int y));
    MOCK_CONST_METHOD0(GetX, int());
    MOCK_CONST_METHOD0(GetY, int());
  };
  </code></pre>
  
  <p>There are multiple MOCK_METHOD0 and multiple MOCK_METHOD1, etc. Functions with similar signatures seem to get the same mock number, but documentation does not mention this, explaining the how &amp; why, and the definitions are identical.  How am I to know what to do?</p>