code: func (mock *Mock) getReturnValues(name string) (response []interface{}) {
  	for i, resp := range mock.responses {
  		if resp.methodName == name {
  			// Remove used response but retain order
  			mock.responses = append(mock.responses[:i], mock.responses[i+1:]...)
  			return resp.items
  		}
  	}
  	// Return empty response
  	return
  }
docs: // Auxiliary method returns next return value for provided method as generic type