If you set up your own mock objects you will need to provide a list of predefined return objects from your mock implementations. All of the objects must be consumed.
ReturnObjectList <std::string> ro ("objectList", 0);
ro.addObjectToReturn("str-1");
ro.addObjectToReturn("str-2");
std::string s = ro.nextReturnObject();