mock : correct return type for MockGetter typedef