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

package runner_wrapper

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

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

type mockInitGracefulShutdownRequest_Expecter struct {
	mock *mock.Mock
}

func (_m *mockInitGracefulShutdownRequest) EXPECT() *mockInitGracefulShutdownRequest_Expecter {
	return &mockInitGracefulShutdownRequest_Expecter{mock: &_m.Mock}
}

// ShutdownCallbackDef provides a mock function with given fields:
func (_m *mockInitGracefulShutdownRequest) ShutdownCallbackDef() shutdownCallbackDef {
	ret := _m.Called()

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

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

	return r0
}

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

// ShutdownCallbackDef is a helper method to define mock.On call
func (_e *mockInitGracefulShutdownRequest_Expecter) ShutdownCallbackDef() *mockInitGracefulShutdownRequest_ShutdownCallbackDef_Call {
	return &mockInitGracefulShutdownRequest_ShutdownCallbackDef_Call{Call: _e.mock.On("ShutdownCallbackDef")}
}

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

func (_c *mockInitGracefulShutdownRequest_ShutdownCallbackDef_Call) Return(_a0 shutdownCallbackDef) *mockInitGracefulShutdownRequest_ShutdownCallbackDef_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *mockInitGracefulShutdownRequest_ShutdownCallbackDef_Call) RunAndReturn(run func() shutdownCallbackDef) *mockInitGracefulShutdownRequest_ShutdownCallbackDef_Call {
	_c.Call.Return(run)
	return _c
}

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

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

	return mock
}
