Mocking calls to ctime calls with google mock.