// Code generated by MockGen. DO NOT EDIT. // Source: github.com/anytypeio/go-anytype-infrastructure-experiments/common/commonspace/diffservice (interfaces: DiffSyncer) // Package mock_diffservice is a generated GoMock package. package mock_diffservice import ( context "context" reflect "reflect" gomock "github.com/golang/mock/gomock" ) // MockDiffSyncer is a mock of DiffSyncer interface. type MockDiffSyncer struct { ctrl *gomock.Controller recorder *MockDiffSyncerMockRecorder } // MockDiffSyncerMockRecorder is the mock recorder for MockDiffSyncer. type MockDiffSyncerMockRecorder struct { mock *MockDiffSyncer } // NewMockDiffSyncer creates a new mock instance. func NewMockDiffSyncer(ctrl *gomock.Controller) *MockDiffSyncer { mock := &MockDiffSyncer{ctrl: ctrl} mock.recorder = &MockDiffSyncerMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockDiffSyncer) EXPECT() *MockDiffSyncerMockRecorder { return m.recorder } // Sync mocks base method. func (m *MockDiffSyncer) Sync(arg0 context.Context) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Sync", arg0) ret0, _ := ret[0].(error) return ret0 } // Sync indicates an expected call of Sync. func (mr *MockDiffSyncerMockRecorder) Sync(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Sync", reflect.TypeOf((*MockDiffSyncer)(nil).Sync), arg0) }