code: func (c *Call) MaxTimes(n int) *Call {
  	c.maxCalls = n
  	if c.minCalls == 1 {
  		c.minCalls = 0
  	}
  	return c
  }
docs: // MaxTimes limits the number of calls to n times. If AnyTimes or MinTimes have not been called, MaxTimes also
  // sets the minimum number of calls to 0.