How to call two different functions when the function "piece" is called in the function being tested?
More: In the tested function, the bullying function is called. When it is called for the first time, it must call one function (a local function in the test suite), and when called a second time, it must call another function (another local function in the test suite).
So how to set EXPECT_Call with "Invoke" for the above requirement?
source share