add const
cleanup code
Separate mocking API from implementation. Split Mock.hpp and create MockImpl.hpp .