Add mock function to fix build error after gtest is updated