// Code generated by mockery v2.39.1. DO NOT EDIT.

package proxy_mock

import (
	http "net/http"

	model "github.com/AlchemyTelcoSolutions/callisto-so-bff/internal/domain/model"
	mock "github.com/stretchr/testify/mock"
)

// ProxyService is an autogenerated mock type for the ProxyService type
type ProxyService struct {
	mock.Mock
}

type ProxyService_Expecter struct {
	mock *mock.Mock
}

func (_m *ProxyService) EXPECT() *ProxyService_Expecter {
	return &ProxyService_Expecter{mock: &_m.Mock}
}

// ForwardProxy provides a mock function with given fields: _a0, _a1
func (_m *ProxyService) ForwardProxy(_a0 *http.Request, _a1 string) *model.ProxyResponse {
	ret := _m.Called(_a0, _a1)

	if len(ret) == 0 {
		panic("no return value specified for ForwardProxy")
	}

	var r0 *model.ProxyResponse
	if rf, ok := ret.Get(0).(func(*http.Request, string) *model.ProxyResponse); ok {
		r0 = rf(_a0, _a1)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*model.ProxyResponse)
		}
	}

	return r0
}

// ProxyService_ForwardProxy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForwardProxy'
type ProxyService_ForwardProxy_Call struct {
	*mock.Call
}

// ForwardProxy is a helper method to define mock.On call
//   - _a0 *http.Request
//   - _a1 string
func (_e *ProxyService_Expecter) ForwardProxy(_a0 interface{}, _a1 interface{}) *ProxyService_ForwardProxy_Call {
	return &ProxyService_ForwardProxy_Call{Call: _e.mock.On("ForwardProxy", _a0, _a1)}
}

func (_c *ProxyService_ForwardProxy_Call) Run(run func(_a0 *http.Request, _a1 string)) *ProxyService_ForwardProxy_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(*http.Request), args[1].(string))
	})
	return _c
}

func (_c *ProxyService_ForwardProxy_Call) Return(_a0 *model.ProxyResponse) *ProxyService_ForwardProxy_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *ProxyService_ForwardProxy_Call) RunAndReturn(run func(*http.Request, string) *model.ProxyResponse) *ProxyService_ForwardProxy_Call {
	_c.Call.Return(run)
	return _c
}

// SendRequestToClient provides a mock function with given fields: _a0, _a1, _a2
func (_m *ProxyService) SendRequestToClient(_a0 *http.Request, _a1 string, _a2 map[string]string) (*model.ProxyResponse, error) {
	ret := _m.Called(_a0, _a1, _a2)

	if len(ret) == 0 {
		panic("no return value specified for SendRequestToClient")
	}

	var r0 *model.ProxyResponse
	var r1 error
	if rf, ok := ret.Get(0).(func(*http.Request, string, map[string]string) (*model.ProxyResponse, error)); ok {
		return rf(_a0, _a1, _a2)
	}
	if rf, ok := ret.Get(0).(func(*http.Request, string, map[string]string) *model.ProxyResponse); ok {
		r0 = rf(_a0, _a1, _a2)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*model.ProxyResponse)
		}
	}

	if rf, ok := ret.Get(1).(func(*http.Request, string, map[string]string) error); ok {
		r1 = rf(_a0, _a1, _a2)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}

// ProxyService_SendRequestToClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendRequestToClient'
type ProxyService_SendRequestToClient_Call struct {
	*mock.Call
}

// SendRequestToClient is a helper method to define mock.On call
//   - _a0 *http.Request
//   - _a1 string
//   - _a2 map[string]string
func (_e *ProxyService_Expecter) SendRequestToClient(_a0 interface{}, _a1 interface{}, _a2 interface{}) *ProxyService_SendRequestToClient_Call {
	return &ProxyService_SendRequestToClient_Call{Call: _e.mock.On("SendRequestToClient", _a0, _a1, _a2)}
}

func (_c *ProxyService_SendRequestToClient_Call) Run(run func(_a0 *http.Request, _a1 string, _a2 map[string]string)) *ProxyService_SendRequestToClient_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(*http.Request), args[1].(string), args[2].(map[string]string))
	})
	return _c
}

func (_c *ProxyService_SendRequestToClient_Call) Return(_a0 *model.ProxyResponse, _a1 error) *ProxyService_SendRequestToClient_Call {
	_c.Call.Return(_a0, _a1)
	return _c
}

func (_c *ProxyService_SendRequestToClient_Call) RunAndReturn(run func(*http.Request, string, map[string]string) (*model.ProxyResponse, error)) *ProxyService_SendRequestToClient_Call {
	_c.Call.Return(run)
	return _c
}

// NewProxyService creates a new instance of ProxyService. 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 NewProxyService(t interface {
	mock.TestingT
	Cleanup(func())
}) *ProxyService {
	mock := &ProxyService{}
	mock.Mock.Test(t)

	t.Cleanup(func() { mock.AssertExpectations(t) })

	return mock
}
