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

package mocks

import (
	context "context"
	json "encoding/json"

	core "github.com/smartcontractkit/chainlink-common/pkg/types/core"

	jsonrpc2 "github.com/smartcontractkit/chainlink-common/pkg/jsonrpc2"

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

	url "net/url"
)

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

type BaseGatewayConnector_Expecter struct {
	mock *mock.Mock
}

func (_m *BaseGatewayConnector) EXPECT() *BaseGatewayConnector_Expecter {
	return &BaseGatewayConnector_Expecter{mock: &_m.Mock}
}

// AddHandler provides a mock function with given fields: ctx, methods, handler
func (_m *BaseGatewayConnector) AddHandler(ctx context.Context, methods []string, handler core.GatewayConnectorHandler) error {
	ret := _m.Called(ctx, methods, handler)

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

	var r0 error
	if rf, ok := ret.Get(0).(func(context.Context, []string, core.GatewayConnectorHandler) error); ok {
		r0 = rf(ctx, methods, handler)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}

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

// AddHandler is a helper method to define mock.On call
//   - ctx context.Context
//   - methods []string
//   - handler core.GatewayConnectorHandler
func (_e *BaseGatewayConnector_Expecter) AddHandler(ctx interface{}, methods interface{}, handler interface{}) *BaseGatewayConnector_AddHandler_Call {
	return &BaseGatewayConnector_AddHandler_Call{Call: _e.mock.On("AddHandler", ctx, methods, handler)}
}

func (_c *BaseGatewayConnector_AddHandler_Call) Run(run func(ctx context.Context, methods []string, handler core.GatewayConnectorHandler)) *BaseGatewayConnector_AddHandler_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(context.Context), args[1].([]string), args[2].(core.GatewayConnectorHandler))
	})
	return _c
}

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

func (_c *BaseGatewayConnector_AddHandler_Call) RunAndReturn(run func(context.Context, []string, core.GatewayConnectorHandler) error) *BaseGatewayConnector_AddHandler_Call {
	_c.Call.Return(run)
	return _c
}

// AwaitConnection provides a mock function with given fields: ctx, gatewayID
func (_m *BaseGatewayConnector) AwaitConnection(ctx context.Context, gatewayID string) error {
	ret := _m.Called(ctx, gatewayID)

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

	var r0 error
	if rf, ok := ret.Get(0).(func(context.Context, string) error); ok {
		r0 = rf(ctx, gatewayID)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}

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

// AwaitConnection is a helper method to define mock.On call
//   - ctx context.Context
//   - gatewayID string
func (_e *BaseGatewayConnector_Expecter) AwaitConnection(ctx interface{}, gatewayID interface{}) *BaseGatewayConnector_AwaitConnection_Call {
	return &BaseGatewayConnector_AwaitConnection_Call{Call: _e.mock.On("AwaitConnection", ctx, gatewayID)}
}

func (_c *BaseGatewayConnector_AwaitConnection_Call) Run(run func(ctx context.Context, gatewayID string)) *BaseGatewayConnector_AwaitConnection_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(context.Context), args[1].(string))
	})
	return _c
}

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

func (_c *BaseGatewayConnector_AwaitConnection_Call) RunAndReturn(run func(context.Context, string) error) *BaseGatewayConnector_AwaitConnection_Call {
	_c.Call.Return(run)
	return _c
}

// ChallengeResponse provides a mock function with given fields: ctx, _a1, challenge
func (_m *BaseGatewayConnector) ChallengeResponse(ctx context.Context, _a1 *url.URL, challenge []byte) ([]byte, error) {
	ret := _m.Called(ctx, _a1, challenge)

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

	var r0 []byte
	var r1 error
	if rf, ok := ret.Get(0).(func(context.Context, *url.URL, []byte) ([]byte, error)); ok {
		return rf(ctx, _a1, challenge)
	}
	if rf, ok := ret.Get(0).(func(context.Context, *url.URL, []byte) []byte); ok {
		r0 = rf(ctx, _a1, challenge)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]byte)
		}
	}

	if rf, ok := ret.Get(1).(func(context.Context, *url.URL, []byte) error); ok {
		r1 = rf(ctx, _a1, challenge)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}

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

// ChallengeResponse is a helper method to define mock.On call
//   - ctx context.Context
//   - _a1 *url.URL
//   - challenge []byte
func (_e *BaseGatewayConnector_Expecter) ChallengeResponse(ctx interface{}, _a1 interface{}, challenge interface{}) *BaseGatewayConnector_ChallengeResponse_Call {
	return &BaseGatewayConnector_ChallengeResponse_Call{Call: _e.mock.On("ChallengeResponse", ctx, _a1, challenge)}
}

func (_c *BaseGatewayConnector_ChallengeResponse_Call) Run(run func(ctx context.Context, _a1 *url.URL, challenge []byte)) *BaseGatewayConnector_ChallengeResponse_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(context.Context), args[1].(*url.URL), args[2].([]byte))
	})
	return _c
}

func (_c *BaseGatewayConnector_ChallengeResponse_Call) Return(_a0 []byte, _a1 error) *BaseGatewayConnector_ChallengeResponse_Call {
	_c.Call.Return(_a0, _a1)
	return _c
}

func (_c *BaseGatewayConnector_ChallengeResponse_Call) RunAndReturn(run func(context.Context, *url.URL, []byte) ([]byte, error)) *BaseGatewayConnector_ChallengeResponse_Call {
	_c.Call.Return(run)
	return _c
}

// Close provides a mock function with no fields
func (_m *BaseGatewayConnector) Close() error {
	ret := _m.Called()

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

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

	return r0
}

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

// Close is a helper method to define mock.On call
func (_e *BaseGatewayConnector_Expecter) Close() *BaseGatewayConnector_Close_Call {
	return &BaseGatewayConnector_Close_Call{Call: _e.mock.On("Close")}
}

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

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

func (_c *BaseGatewayConnector_Close_Call) RunAndReturn(run func() error) *BaseGatewayConnector_Close_Call {
	_c.Call.Return(run)
	return _c
}

// DonID provides a mock function with given fields: ctx
func (_m *BaseGatewayConnector) DonID(ctx context.Context) (string, error) {
	ret := _m.Called(ctx)

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

	var r0 string
	var r1 error
	if rf, ok := ret.Get(0).(func(context.Context) (string, error)); ok {
		return rf(ctx)
	}
	if rf, ok := ret.Get(0).(func(context.Context) string); ok {
		r0 = rf(ctx)
	} else {
		r0 = ret.Get(0).(string)
	}

	if rf, ok := ret.Get(1).(func(context.Context) error); ok {
		r1 = rf(ctx)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}

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

// DonID is a helper method to define mock.On call
//   - ctx context.Context
func (_e *BaseGatewayConnector_Expecter) DonID(ctx interface{}) *BaseGatewayConnector_DonID_Call {
	return &BaseGatewayConnector_DonID_Call{Call: _e.mock.On("DonID", ctx)}
}

func (_c *BaseGatewayConnector_DonID_Call) Run(run func(ctx context.Context)) *BaseGatewayConnector_DonID_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(context.Context))
	})
	return _c
}

func (_c *BaseGatewayConnector_DonID_Call) Return(_a0 string, _a1 error) *BaseGatewayConnector_DonID_Call {
	_c.Call.Return(_a0, _a1)
	return _c
}

func (_c *BaseGatewayConnector_DonID_Call) RunAndReturn(run func(context.Context) (string, error)) *BaseGatewayConnector_DonID_Call {
	_c.Call.Return(run)
	return _c
}

// GatewayIDs provides a mock function with given fields: ctx
func (_m *BaseGatewayConnector) GatewayIDs(ctx context.Context) ([]string, error) {
	ret := _m.Called(ctx)

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

	var r0 []string
	var r1 error
	if rf, ok := ret.Get(0).(func(context.Context) ([]string, error)); ok {
		return rf(ctx)
	}
	if rf, ok := ret.Get(0).(func(context.Context) []string); ok {
		r0 = rf(ctx)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]string)
		}
	}

	if rf, ok := ret.Get(1).(func(context.Context) error); ok {
		r1 = rf(ctx)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}

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

// GatewayIDs is a helper method to define mock.On call
//   - ctx context.Context
func (_e *BaseGatewayConnector_Expecter) GatewayIDs(ctx interface{}) *BaseGatewayConnector_GatewayIDs_Call {
	return &BaseGatewayConnector_GatewayIDs_Call{Call: _e.mock.On("GatewayIDs", ctx)}
}

func (_c *BaseGatewayConnector_GatewayIDs_Call) Run(run func(ctx context.Context)) *BaseGatewayConnector_GatewayIDs_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(context.Context))
	})
	return _c
}

func (_c *BaseGatewayConnector_GatewayIDs_Call) Return(_a0 []string, _a1 error) *BaseGatewayConnector_GatewayIDs_Call {
	_c.Call.Return(_a0, _a1)
	return _c
}

func (_c *BaseGatewayConnector_GatewayIDs_Call) RunAndReturn(run func(context.Context) ([]string, error)) *BaseGatewayConnector_GatewayIDs_Call {
	_c.Call.Return(run)
	return _c
}

// HealthReport provides a mock function with no fields
func (_m *BaseGatewayConnector) HealthReport() map[string]error {
	ret := _m.Called()

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

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

	return r0
}

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

// HealthReport is a helper method to define mock.On call
func (_e *BaseGatewayConnector_Expecter) HealthReport() *BaseGatewayConnector_HealthReport_Call {
	return &BaseGatewayConnector_HealthReport_Call{Call: _e.mock.On("HealthReport")}
}

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

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

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

// Name provides a mock function with no fields
func (_m *BaseGatewayConnector) Name() string {
	ret := _m.Called()

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

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

	return r0
}

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

// Name is a helper method to define mock.On call
func (_e *BaseGatewayConnector_Expecter) Name() *BaseGatewayConnector_Name_Call {
	return &BaseGatewayConnector_Name_Call{Call: _e.mock.On("Name")}
}

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

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

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

// NewAuthHeader provides a mock function with given fields: ctx, _a1
func (_m *BaseGatewayConnector) NewAuthHeader(ctx context.Context, _a1 *url.URL) ([]byte, error) {
	ret := _m.Called(ctx, _a1)

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

	var r0 []byte
	var r1 error
	if rf, ok := ret.Get(0).(func(context.Context, *url.URL) ([]byte, error)); ok {
		return rf(ctx, _a1)
	}
	if rf, ok := ret.Get(0).(func(context.Context, *url.URL) []byte); ok {
		r0 = rf(ctx, _a1)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]byte)
		}
	}

	if rf, ok := ret.Get(1).(func(context.Context, *url.URL) error); ok {
		r1 = rf(ctx, _a1)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}

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

// NewAuthHeader is a helper method to define mock.On call
//   - ctx context.Context
//   - _a1 *url.URL
func (_e *BaseGatewayConnector_Expecter) NewAuthHeader(ctx interface{}, _a1 interface{}) *BaseGatewayConnector_NewAuthHeader_Call {
	return &BaseGatewayConnector_NewAuthHeader_Call{Call: _e.mock.On("NewAuthHeader", ctx, _a1)}
}

func (_c *BaseGatewayConnector_NewAuthHeader_Call) Run(run func(ctx context.Context, _a1 *url.URL)) *BaseGatewayConnector_NewAuthHeader_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(context.Context), args[1].(*url.URL))
	})
	return _c
}

func (_c *BaseGatewayConnector_NewAuthHeader_Call) Return(_a0 []byte, _a1 error) *BaseGatewayConnector_NewAuthHeader_Call {
	_c.Call.Return(_a0, _a1)
	return _c
}

func (_c *BaseGatewayConnector_NewAuthHeader_Call) RunAndReturn(run func(context.Context, *url.URL) ([]byte, error)) *BaseGatewayConnector_NewAuthHeader_Call {
	_c.Call.Return(run)
	return _c
}

// Ready provides a mock function with no fields
func (_m *BaseGatewayConnector) Ready() error {
	ret := _m.Called()

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

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

	return r0
}

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

// Ready is a helper method to define mock.On call
func (_e *BaseGatewayConnector_Expecter) Ready() *BaseGatewayConnector_Ready_Call {
	return &BaseGatewayConnector_Ready_Call{Call: _e.mock.On("Ready")}
}

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

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

func (_c *BaseGatewayConnector_Ready_Call) RunAndReturn(run func() error) *BaseGatewayConnector_Ready_Call {
	_c.Call.Return(run)
	return _c
}

// RemoveHandler provides a mock function with given fields: ctx, methods
func (_m *BaseGatewayConnector) RemoveHandler(ctx context.Context, methods []string) error {
	ret := _m.Called(ctx, methods)

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

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

	return r0
}

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

// RemoveHandler is a helper method to define mock.On call
//   - ctx context.Context
//   - methods []string
func (_e *BaseGatewayConnector_Expecter) RemoveHandler(ctx interface{}, methods interface{}) *BaseGatewayConnector_RemoveHandler_Call {
	return &BaseGatewayConnector_RemoveHandler_Call{Call: _e.mock.On("RemoveHandler", ctx, methods)}
}

func (_c *BaseGatewayConnector_RemoveHandler_Call) Run(run func(ctx context.Context, methods []string)) *BaseGatewayConnector_RemoveHandler_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(context.Context), args[1].([]string))
	})
	return _c
}

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

func (_c *BaseGatewayConnector_RemoveHandler_Call) RunAndReturn(run func(context.Context, []string) error) *BaseGatewayConnector_RemoveHandler_Call {
	_c.Call.Return(run)
	return _c
}

// SendToGateway provides a mock function with given fields: ctx, gatewayID, resp
func (_m *BaseGatewayConnector) SendToGateway(ctx context.Context, gatewayID string, resp *jsonrpc2.Response[json.RawMessage]) error {
	ret := _m.Called(ctx, gatewayID, resp)

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

	var r0 error
	if rf, ok := ret.Get(0).(func(context.Context, string, *jsonrpc2.Response[json.RawMessage]) error); ok {
		r0 = rf(ctx, gatewayID, resp)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}

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

// SendToGateway is a helper method to define mock.On call
//   - ctx context.Context
//   - gatewayID string
//   - resp *jsonrpc2.Response[json.RawMessage]
func (_e *BaseGatewayConnector_Expecter) SendToGateway(ctx interface{}, gatewayID interface{}, resp interface{}) *BaseGatewayConnector_SendToGateway_Call {
	return &BaseGatewayConnector_SendToGateway_Call{Call: _e.mock.On("SendToGateway", ctx, gatewayID, resp)}
}

func (_c *BaseGatewayConnector_SendToGateway_Call) Run(run func(ctx context.Context, gatewayID string, resp *jsonrpc2.Response[json.RawMessage])) *BaseGatewayConnector_SendToGateway_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(context.Context), args[1].(string), args[2].(*jsonrpc2.Response[json.RawMessage]))
	})
	return _c
}

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

func (_c *BaseGatewayConnector_SendToGateway_Call) RunAndReturn(run func(context.Context, string, *jsonrpc2.Response[json.RawMessage]) error) *BaseGatewayConnector_SendToGateway_Call {
	_c.Call.Return(run)
	return _c
}

// SignMessage provides a mock function with given fields: ctx, msg
func (_m *BaseGatewayConnector) SignMessage(ctx context.Context, msg []byte) ([]byte, error) {
	ret := _m.Called(ctx, msg)

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

	var r0 []byte
	var r1 error
	if rf, ok := ret.Get(0).(func(context.Context, []byte) ([]byte, error)); ok {
		return rf(ctx, msg)
	}
	if rf, ok := ret.Get(0).(func(context.Context, []byte) []byte); ok {
		r0 = rf(ctx, msg)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]byte)
		}
	}

	if rf, ok := ret.Get(1).(func(context.Context, []byte) error); ok {
		r1 = rf(ctx, msg)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}

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

// SignMessage is a helper method to define mock.On call
//   - ctx context.Context
//   - msg []byte
func (_e *BaseGatewayConnector_Expecter) SignMessage(ctx interface{}, msg interface{}) *BaseGatewayConnector_SignMessage_Call {
	return &BaseGatewayConnector_SignMessage_Call{Call: _e.mock.On("SignMessage", ctx, msg)}
}

func (_c *BaseGatewayConnector_SignMessage_Call) Run(run func(ctx context.Context, msg []byte)) *BaseGatewayConnector_SignMessage_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(context.Context), args[1].([]byte))
	})
	return _c
}

func (_c *BaseGatewayConnector_SignMessage_Call) Return(_a0 []byte, _a1 error) *BaseGatewayConnector_SignMessage_Call {
	_c.Call.Return(_a0, _a1)
	return _c
}

func (_c *BaseGatewayConnector_SignMessage_Call) RunAndReturn(run func(context.Context, []byte) ([]byte, error)) *BaseGatewayConnector_SignMessage_Call {
	_c.Call.Return(run)
	return _c
}

// Start provides a mock function with given fields: _a0
func (_m *BaseGatewayConnector) Start(_a0 context.Context) error {
	ret := _m.Called(_a0)

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

	var r0 error
	if rf, ok := ret.Get(0).(func(context.Context) error); ok {
		r0 = rf(_a0)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}

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

// Start is a helper method to define mock.On call
//   - _a0 context.Context
func (_e *BaseGatewayConnector_Expecter) Start(_a0 interface{}) *BaseGatewayConnector_Start_Call {
	return &BaseGatewayConnector_Start_Call{Call: _e.mock.On("Start", _a0)}
}

func (_c *BaseGatewayConnector_Start_Call) Run(run func(_a0 context.Context)) *BaseGatewayConnector_Start_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(context.Context))
	})
	return _c
}

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

func (_c *BaseGatewayConnector_Start_Call) RunAndReturn(run func(context.Context) error) *BaseGatewayConnector_Start_Call {
	_c.Call.Return(run)
	return _c
}

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

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

	return mock
}
