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

package mocks

import (
	context "context"

	ip "github.com/akash-network/provider/cluster/types/v1beta3/clients/ip"
	mock "github.com/stretchr/testify/mock"

	v1beta4 "github.com/akash-network/akash-api/go/node/market/v1beta4"
)

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

type Client_Expecter struct {
	mock *mock.Mock
}

func (_m *Client) EXPECT() *Client_Expecter {
	return &Client_Expecter{mock: &_m.Mock}
}

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

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

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

	return r0
}

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

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

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

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

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

// GetIPAddressStatus provides a mock function with given fields: _a0, _a1
func (_m *Client) GetIPAddressStatus(_a0 context.Context, _a1 v1beta4.OrderID) ([]ip.LeaseIPStatus, error) {
	ret := _m.Called(_a0, _a1)

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

	var r0 []ip.LeaseIPStatus
	var r1 error
	if rf, ok := ret.Get(0).(func(context.Context, v1beta4.OrderID) ([]ip.LeaseIPStatus, error)); ok {
		return rf(_a0, _a1)
	}
	if rf, ok := ret.Get(0).(func(context.Context, v1beta4.OrderID) []ip.LeaseIPStatus); ok {
		r0 = rf(_a0, _a1)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]ip.LeaseIPStatus)
		}
	}

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

	return r0, r1
}

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

// GetIPAddressStatus is a helper method to define mock.On call
//   - _a0 context.Context
//   - _a1 v1beta4.OrderID
func (_e *Client_Expecter) GetIPAddressStatus(_a0 interface{}, _a1 interface{}) *Client_GetIPAddressStatus_Call {
	return &Client_GetIPAddressStatus_Call{Call: _e.mock.On("GetIPAddressStatus", _a0, _a1)}
}

func (_c *Client_GetIPAddressStatus_Call) Run(run func(_a0 context.Context, _a1 v1beta4.OrderID)) *Client_GetIPAddressStatus_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(context.Context), args[1].(v1beta4.OrderID))
	})
	return _c
}

func (_c *Client_GetIPAddressStatus_Call) Return(_a0 []ip.LeaseIPStatus, _a1 error) *Client_GetIPAddressStatus_Call {
	_c.Call.Return(_a0, _a1)
	return _c
}

func (_c *Client_GetIPAddressStatus_Call) RunAndReturn(run func(context.Context, v1beta4.OrderID) ([]ip.LeaseIPStatus, error)) *Client_GetIPAddressStatus_Call {
	_c.Call.Return(run)
	return _c
}

// GetIPAddressUsage provides a mock function with given fields: _a0
func (_m *Client) GetIPAddressUsage(_a0 context.Context) (ip.AddressUsage, error) {
	ret := _m.Called(_a0)

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

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

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

	return r0, r1
}

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

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

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

func (_c *Client_GetIPAddressUsage_Call) Return(_a0 ip.AddressUsage, _a1 error) *Client_GetIPAddressUsage_Call {
	_c.Call.Return(_a0, _a1)
	return _c
}

func (_c *Client_GetIPAddressUsage_Call) RunAndReturn(run func(context.Context) (ip.AddressUsage, error)) *Client_GetIPAddressUsage_Call {
	_c.Call.Return(run)
	return _c
}

// Stop provides a mock function with no fields
func (_m *Client) Stop() {
	_m.Called()
}

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

// Stop is a helper method to define mock.On call
func (_e *Client_Expecter) Stop() *Client_Stop_Call {
	return &Client_Stop_Call{Call: _e.mock.On("Stop")}
}

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

func (_c *Client_Stop_Call) Return() *Client_Stop_Call {
	_c.Call.Return()
	return _c
}

func (_c *Client_Stop_Call) RunAndReturn(run func()) *Client_Stop_Call {
	_c.Run(run)
	return _c
}

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

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

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

	return r0
}

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

// String is a helper method to define mock.On call
func (_e *Client_Expecter) String() *Client_String_Call {
	return &Client_String_Call{Call: _e.mock.On("String")}
}

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

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

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

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

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

	return mock
}
