code: func (m *MockCgroupFactory) New(arg0 cgroups.Hierarchy, arg1 cgroups.Path, arg2 *specs_go.LinuxResources) (cgroups.Cgroup, error) {
  	ret := m.ctrl.Call(m, "New", arg0, arg1, arg2)
  	ret0, _ := ret[0].(cgroups.Cgroup)
  	ret1, _ := ret[1].(error)
  	return ret0, ret1
  }
docs: // New mocks base method