Thanks! However, I'm not really that familiar with GMock. Do you think
you can provide a very simple example?
I am guessing something like this (this probably doesn't compile). How
do you write this point 3 of your proposal?
vector<string> v;
v.push_back("1");
v.push_back("2");
v.push_back("3");
v::iterator iter;
iter.front();
class MyMock ...
MOCK_METHOD0(GetMyIterator, vector<string>::iterator());
...
EXPECT_CALL(myMockedClass, GetMyIterator())
.WillOnce(Return(iter));
How do you iterate over the values of the test vector?
I hope I'm making sence here... ;->
regards
Lee Francis