// Code generated by mockery. DO NOT EDIT.

package mocks

import mock "github.com/stretchr/testify/mock"

// MapFunc is an autogenerated mock type for the MapFunc type
type MapFunc struct {
	mock.Mock
}

type MapFunc_Expecter struct {
	mock *mock.Mock
}

func (_m *MapFunc) EXPECT() *MapFunc_Expecter {
	return &MapFunc_Expecter{mock: &_m.Mock}
}

// Get provides a mock function with given fields: m
func (_m *MapFunc) Get(m map[string]func(string) string) error {
	ret := _m.Called(m)

	if len(ret) == 0 {
		panic("no return value specified for Get")
	}

	var r0 error
	if rf, ok := ret.Get(0).(func(map[string]func(string) string) error); ok {
		r0 = rf(m)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}

// MapFunc_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
type MapFunc_Get_Call struct {
	*mock.Call
}

// Get is a helper method to define mock.On call
//   - m map[string]func(string) string
func (_e *MapFunc_Expecter) Get(m interface{}) *MapFunc_Get_Call {
	return &MapFunc_Get_Call{Call: _e.mock.On("Get", m)}
}

func (_c *MapFunc_Get_Call) Run(run func(m map[string]func(string) string)) *MapFunc_Get_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(map[string]func(string) string))
	})
	return _c
}

func (_c *MapFunc_Get_Call) Return(_a0 error) *MapFunc_Get_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MapFunc_Get_Call) RunAndReturn(run func(map[string]func(string) string) error) *MapFunc_Get_Call {
	_c.Call.Return(run)
	return _c
}

// NewMapFunc creates a new instance of MapFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
// The first argument is typically a *testing.T value.
func NewMapFunc(t interface {
	mock.TestingT
	Cleanup(func())
}) *MapFunc {
	mock := &MapFunc{}
	mock.Mock.Test(t)

	t.Cleanup(func() { mock.AssertExpectations(t) })

	return mock
}
