1 // Code generated by mockery v2.14.0. DO NOT EDIT.
8 mock "github.com/stretchr/testify/mock"
11 // HTTPClient is an autogenerated mock type for the HTTPClient type
12 type HTTPClient struct {
16 // Do provides a mock function with given fields: _a0
17 func (_m *HTTPClient) Do(_a0 *http.Request) (*http.Response, error) {
21 if rf, ok := ret.Get(0).(func(*http.Request) *http.Response); ok {
24 if ret.Get(0) != nil {
25 r0 = ret.Get(0).(*http.Response)
30 if rf, ok := ret.Get(1).(func(*http.Request) error); ok {
39 type mockConstructorTestingTNewHTTPClient interface {
44 // NewHTTPClient creates a new instance of HTTPClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
45 func NewHTTPClient(t mockConstructorTestingTNewHTTPClient) *HTTPClient {
49 t.Cleanup(func() { mock.AssertExpectations(t) })