Extracted a GMock helper .pri file to be used from the unit tests.