// Code generated by MockGen. DO NOT EDIT. // Source: d7y.io/dragonfly/v2/pkg/container/list (interfaces: Item) // Package mocks is a generated GoMock package. package mocks import ( reflect "reflect" gomock "github.com/golang/mock/gomock" ) // MockItem is a mock of Item interface. type MockItem struct { ctrl *gomock.Controller recorder *MockItemMockRecorder } // MockItemMockRecorder is the mock recorder for MockItem. type MockItemMockRecorder struct { mock *MockItem } // NewMockItem creates a new mock instance. func NewMockItem(ctrl *gomock.Controller) *MockItem { mock := &MockItem{ctrl: ctrl} mock.recorder = &MockItemMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockItem) EXPECT() *MockItemMockRecorder { return m.recorder } // SortedValue mocks base method. func (m *MockItem) SortedValue() int { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SortedValue") ret0, _ := ret[0].(int) return ret0 } // SortedValue indicates an expected call of SortedValue. func (mr *MockItemMockRecorder) SortedValue() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SortedValue", reflect.TypeOf((*MockItem)(nil).SortedValue)) }