GTest test case "EXPECT_CALL" compilation error
<pre><code>#include "gtest\gtest.h"
using namespace testing;

class MyGTest : public Test
{
public:
    void f(){}
    void g(){
        f();
        f();
    }
};

TEST_F(MyGTest, first)
{
    EXPECT_CALL(*this, f()).Times(2);
    g();
}
</code></pre>

<p>VC2013 says:</p>

<pre><code>    "MyGTest_first_Test" has no member "gmock_f"
</code></pre>

<p>What does it mean? I expect the call to g() to call f() for 2 times. Any syntax error I made?</p>