// Code generated by mockery v2.43.0. DO NOT EDIT.

package runner_wrapper

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

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

type mockShutdownCallbackDef_Expecter struct {
	mock *mock.Mock
}

func (_m *mockShutdownCallbackDef) EXPECT() *mockShutdownCallbackDef_Expecter {
	return &mockShutdownCallbackDef_Expecter{mock: &_m.Mock}
}

// Headers provides a mock function with given fields:
func (_m *mockShutdownCallbackDef) Headers() map[string]string {
	ret := _m.Called()

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

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

	return r0
}

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

// Headers is a helper method to define mock.On call
func (_e *mockShutdownCallbackDef_Expecter) Headers() *mockShutdownCallbackDef_Headers_Call {
	return &mockShutdownCallbackDef_Headers_Call{Call: _e.mock.On("Headers")}
}

func (_c *mockShutdownCallbackDef_Headers_Call) Run(run func()) *mockShutdownCallbackDef_Headers_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run()
	})
	return _c
}

func (_c *mockShutdownCallbackDef_Headers_Call) Return(_a0 map[string]string) *mockShutdownCallbackDef_Headers_Call {
	_c.Call.Return(_a0)
	return _c
}

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

// Method provides a mock function with given fields:
func (_m *mockShutdownCallbackDef) Method() string {
	ret := _m.Called()

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

	var r0 string
	if rf, ok := ret.Get(0).(func() string); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(string)
	}

	return r0
}

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

// Method is a helper method to define mock.On call
func (_e *mockShutdownCallbackDef_Expecter) Method() *mockShutdownCallbackDef_Method_Call {
	return &mockShutdownCallbackDef_Method_Call{Call: _e.mock.On("Method")}
}

func (_c *mockShutdownCallbackDef_Method_Call) Run(run func()) *mockShutdownCallbackDef_Method_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run()
	})
	return _c
}

func (_c *mockShutdownCallbackDef_Method_Call) Return(_a0 string) *mockShutdownCallbackDef_Method_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *mockShutdownCallbackDef_Method_Call) RunAndReturn(run func() string) *mockShutdownCallbackDef_Method_Call {
	_c.Call.Return(run)
	return _c
}

// URL provides a mock function with given fields:
func (_m *mockShutdownCallbackDef) URL() string {
	ret := _m.Called()

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

	var r0 string
	if rf, ok := ret.Get(0).(func() string); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(string)
	}

	return r0
}

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

// URL is a helper method to define mock.On call
func (_e *mockShutdownCallbackDef_Expecter) URL() *mockShutdownCallbackDef_URL_Call {
	return &mockShutdownCallbackDef_URL_Call{Call: _e.mock.On("URL")}
}

func (_c *mockShutdownCallbackDef_URL_Call) Run(run func()) *mockShutdownCallbackDef_URL_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run()
	})
	return _c
}

func (_c *mockShutdownCallbackDef_URL_Call) Return(_a0 string) *mockShutdownCallbackDef_URL_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *mockShutdownCallbackDef_URL_Call) RunAndReturn(run func() string) *mockShutdownCallbackDef_URL_Call {
	_c.Call.Return(run)
	return _c
}

// newMockShutdownCallbackDef creates a new instance of mockShutdownCallbackDef. 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 newMockShutdownCallbackDef(t interface {
	mock.TestingT
	Cleanup(func())
}) *mockShutdownCallbackDef {
	mock := &mockShutdownCallbackDef{}
	mock.Mock.Test(t)

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

	return mock
}
