code: func (l *State) SetCheckState(c *CheckState) {
  	l.Lock()
  	defer l.Unlock()
  
  	l.setCheckStateLocked(c)
  }
docs: // SetCheckState is used to overwrite a raw check state with the given
  // state. This method is safe to be called concurrently but should only be used
  // during testing. You should most likely call AddCheck instead.