// Code generated by MockGen. DO NOT EDIT.
// Source: git.canopsis.net/canopsis/canopsis-community/community/go-engines-community/lib/canopsis/template (interfaces: Executor)
//
// Generated by this command:
//
//	mockgen -destination=../../../mocks/lib/canopsis/template/template.go git.canopsis.net/canopsis/canopsis-community/community/go-engines-community/lib/canopsis/template Executor
//

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

import (
	reflect "reflect"
	template0 "text/template"

	template "git.canopsis.net/canopsis/canopsis-community/community/go-engines-community/lib/canopsis/template"
	gomock "go.uber.org/mock/gomock"
)

// MockExecutor is a mock of Executor interface.
type MockExecutor struct {
	ctrl     *gomock.Controller
	recorder *MockExecutorMockRecorder
	isgomock struct{}
}

// MockExecutorMockRecorder is the mock recorder for MockExecutor.
type MockExecutorMockRecorder struct {
	mock *MockExecutor
}

// NewMockExecutor creates a new mock instance.
func NewMockExecutor(ctrl *gomock.Controller) *MockExecutor {
	mock := &MockExecutor{ctrl: ctrl}
	mock.recorder = &MockExecutorMockRecorder{mock}
	return mock
}

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

// Execute mocks base method.
func (m *MockExecutor) Execute(tplStr string, data any) (string, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Execute", tplStr, data)
	ret0, _ := ret[0].(string)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// Execute indicates an expected call of Execute.
func (mr *MockExecutorMockRecorder) Execute(tplStr, data any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Execute", reflect.TypeOf((*MockExecutor)(nil).Execute), tplStr, data)
}

// ExecuteByTpl mocks base method.
func (m *MockExecutor) ExecuteByTpl(tpl *template0.Template, data any) (string, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ExecuteByTpl", tpl, data)
	ret0, _ := ret[0].(string)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// ExecuteByTpl indicates an expected call of ExecuteByTpl.
func (mr *MockExecutorMockRecorder) ExecuteByTpl(tpl, data any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExecuteByTpl", reflect.TypeOf((*MockExecutor)(nil).ExecuteByTpl), tpl, data)
}

// GetDefaultTplVars mocks base method.
func (m *MockExecutor) GetDefaultTplVars() map[string]any {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetDefaultTplVars")
	ret0, _ := ret[0].(map[string]any)
	return ret0
}

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

// Parse mocks base method.
func (m *MockExecutor) Parse(text string) template.ParsedTemplate {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Parse", text)
	ret0, _ := ret[0].(template.ParsedTemplate)
	return ret0
}

// Parse indicates an expected call of Parse.
func (mr *MockExecutorMockRecorder) Parse(text any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Parse", reflect.TypeOf((*MockExecutor)(nil).Parse), text)
}
