google mock - how to say "function must be called ONCE with a certain parameter but ok to be called many times with different parameters"?
In Google Mock, later expectations override earlier ones (more details in the docs), so you can write this:
EXPECT_CALL(Mock_Obj, func(_)).Times(AnyNumber());
EXPECT_CALL(Mock_Obj, func("abc")).Times(1);