code: func (msc *MockStatsdClient) RecordCreateSocketEventsTo(createSocketEvents *[]UnvaluedEvent) *MockStatsdClient {
  	eventLock := &sync.Mutex{}
  	msc.CreateSocketFn = func() error {
  		recordUnvaluedEvent(eventLock, createSocketEvents)
  		return nil
  	}
  	return msc
  }
docs: // Fluent-style constructors for recording events to caller-provided slices
  // This means that during unit tests, one can do something like
  //
  // incrEvents := []statsd.Int64Event
  // decrEvents := []statsd.Int64Event
  // statsdClient = &MockStatsdClient{}.RecordIncrEventsTo(&incrEvents).RecordDecrEventsTo(&decrEvents)
  // ... Execute code under test that records metrics
  // ... Verify that incrEvents and decrEvents have seen the expected events