C++ mocks for MPI