Google C++ Mocking Framework (or Google Mock for
short) is a library for writing and using C++ mock
classes. It was inspired by jMock, EasyMock, and
Hamcrest, and designed with C++'s specifics in
mind. It lets you create mock classes trivially
using simple macros, supports a rich set of
matchers and actions, handles unordered, partially
ordered, or completely ordered expectations, and
is extensible by users.