// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/armadaproject/armada/internal/server/submit (interfaces: Deduplicator)
//
// Generated by this command:
//
//	mockgen -destination=./mock_deduplicator.go -package=mocks github.com/armadaproject/armada/internal/server/submit Deduplicator
//

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

import (
	reflect "reflect"

	armadacontext "github.com/armadaproject/armada/internal/common/armadacontext"
	api "github.com/armadaproject/armada/pkg/api"
	gomock "go.uber.org/mock/gomock"
)

// MockDeduplicator is a mock of Deduplicator interface.
type MockDeduplicator struct {
	ctrl     *gomock.Controller
	recorder *MockDeduplicatorMockRecorder
	isgomock struct{}
}

// MockDeduplicatorMockRecorder is the mock recorder for MockDeduplicator.
type MockDeduplicatorMockRecorder struct {
	mock *MockDeduplicator
}

// NewMockDeduplicator creates a new mock instance.
func NewMockDeduplicator(ctrl *gomock.Controller) *MockDeduplicator {
	mock := &MockDeduplicator{ctrl: ctrl}
	mock.recorder = &MockDeduplicatorMockRecorder{mock}
	return mock
}

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

// GetOriginalJobIds mocks base method.
func (m *MockDeduplicator) GetOriginalJobIds(ctx *armadacontext.Context, queue string, jobRequests []*api.JobSubmitRequestItem) (map[string]string, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetOriginalJobIds", ctx, queue, jobRequests)
	ret0, _ := ret[0].(map[string]string)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetOriginalJobIds indicates an expected call of GetOriginalJobIds.
func (mr *MockDeduplicatorMockRecorder) GetOriginalJobIds(ctx, queue, jobRequests any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOriginalJobIds", reflect.TypeOf((*MockDeduplicator)(nil).GetOriginalJobIds), ctx, queue, jobRequests)
}

// StoreOriginalJobIds mocks base method.
func (m *MockDeduplicator) StoreOriginalJobIds(ctx *armadacontext.Context, queue string, mappings map[string]string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "StoreOriginalJobIds", ctx, queue, mappings)
	ret0, _ := ret[0].(error)
	return ret0
}

// StoreOriginalJobIds indicates an expected call of StoreOriginalJobIds.
func (mr *MockDeduplicatorMockRecorder) StoreOriginalJobIds(ctx, queue, mappings any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StoreOriginalJobIds", reflect.TypeOf((*MockDeduplicator)(nil).StoreOriginalJobIds), ctx, queue, mappings)
}
