// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/tidbcloud/devops/pkg/service/tenant/cron/enricher (interfaces: Enricher)
//
// Generated by this command:
//
//	mockgen -destination enricher_mock.go -package=enricher github.com/tidbcloud/devops/pkg/service/tenant/cron/enricher Enricher
//

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

import (
	context "context"
	reflect "reflect"

	tenant "github.com/tidbcloud/devops/entity/tenant"
	gomock "go.uber.org/mock/gomock"
)

// MockEnricher is a mock of Enricher interface.
type MockEnricher struct {
	ctrl     *gomock.Controller
	recorder *MockEnricherMockRecorder
	isgomock struct{}
}

// MockEnricherMockRecorder is the mock recorder for MockEnricher.
type MockEnricherMockRecorder struct {
	mock *MockEnricher
}

// NewMockEnricher creates a new mock instance.
func NewMockEnricher(ctrl *gomock.Controller) *MockEnricher {
	mock := &MockEnricher{ctrl: ctrl}
	mock.recorder = &MockEnricherMockRecorder{mock}
	return mock
}

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

// Enrich mocks base method.
func (m *MockEnricher) Enrich(ctx context.Context, origins []*tenant.Tenant) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Enrich", ctx, origins)
	ret0, _ := ret[0].(error)
	return ret0
}

// Enrich indicates an expected call of Enrich.
func (mr *MockEnricherMockRecorder) Enrich(ctx, origins any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Enrich", reflect.TypeOf((*MockEnricher)(nil).Enrich), ctx, origins)
}
