@Eljay, I totally agree. But I have to create the test without any modifications to the existing code. I do not want to describe the technical lead on my team, but you get my point.
I just need to somehow create a test with minimal work to avoid the back and forth.
Can MOCK_GLOBAL_FUNC2 and EXPECT_GLOBAL_CALL be of help here?