Prototype for mock cpp non virtual function.