// Code generated by MockGen. DO NOT EDIT.
// Source: ./pkg/collector/sources/interface.go

// Package mock_source is a generated GoMock package.
package mock_source

import (
	reflect "reflect"

	gomock "github.com/golang/mock/gomock"
	config "github.com/tidbcloud/observability/data-collector/pkg/collector/config"
	sources "github.com/tidbcloud/observability/data-collector/pkg/collector/sources"
)

// MockSource is a mock of Source interface.
type MockSource struct {
	ctrl     *gomock.Controller
	recorder *MockSourceMockRecorder
}

// MockSourceMockRecorder is the mock recorder for MockSource.
type MockSourceMockRecorder struct {
	mock *MockSource
}

// NewMockSource creates a new mock instance.
func NewMockSource(ctrl *gomock.Controller) *MockSource {
	mock := &MockSource{ctrl: ctrl}
	mock.recorder = &MockSourceMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockSource) EXPECT() *MockSourceMockRecorder {
	return m.recorder
}

// GetConfig mocks base method.
func (m *MockSource) GetConfig() config.SourceInterface {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetConfig")
	ret0, _ := ret[0].(config.SourceInterface)
	return ret0
}

// GetConfig indicates an expected call of GetConfig.
func (mr *MockSourceMockRecorder) GetConfig() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetConfig", reflect.TypeOf((*MockSource)(nil).GetConfig))
}

// Run mocks base method.
func (m *MockSource) Run(timestamp, checkpoint int64) ([]sources.Result, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Run", timestamp, checkpoint)
	ret0, _ := ret[0].([]sources.Result)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// Run indicates an expected call of Run.
func (mr *MockSourceMockRecorder) Run(timestamp, checkpoint interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Run", reflect.TypeOf((*MockSource)(nil).Run), timestamp, checkpoint)
}
