code: func (m *MockStateManager) NewStateManager(arg0 *config.Config, arg1 ...statemanager.Option) (statemanager.StateManager, error) {
  	varargs := []interface{}{arg0}
  	for _, a := range arg1 {
  		varargs = append(varargs, a)
  	}
  	ret := m.ctrl.Call(m, "NewStateManager", varargs...)
  	ret0, _ := ret[0].(statemanager.StateManager)
  	ret1, _ := ret[1].(error)
  	return ret0, ret1
  }
docs: // NewStateManager mocks base method