// Code generated by MockGen. DO NOT EDIT. // Source: github.com/ledgerwatch/erigon/polygon/heimdall (interfaces: HttpClient) // Package heimdall is a generated GoMock package. package heimdall import ( http "net/http" reflect "reflect" gomock "github.com/golang/mock/gomock" ) // MockHttpClient is a mock of HttpClient interface. type MockHttpClient struct { ctrl *gomock.Controller recorder *MockHttpClientMockRecorder } // MockHttpClientMockRecorder is the mock recorder for MockHttpClient. type MockHttpClientMockRecorder struct { mock *MockHttpClient } // NewMockHttpClient creates a new mock instance. func NewMockHttpClient(ctrl *gomock.Controller) *MockHttpClient { mock := &MockHttpClient{ctrl: ctrl} mock.recorder = &MockHttpClientMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockHttpClient) EXPECT() *MockHttpClientMockRecorder { return m.recorder } // CloseIdleConnections mocks base method. func (m *MockHttpClient) CloseIdleConnections() { m.ctrl.T.Helper() m.ctrl.Call(m, "CloseIdleConnections") } // CloseIdleConnections indicates an expected call of CloseIdleConnections. func (mr *MockHttpClientMockRecorder) CloseIdleConnections() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloseIdleConnections", reflect.TypeOf((*MockHttpClient)(nil).CloseIdleConnections)) } // Do mocks base method. func (m *MockHttpClient) Do(arg0 *http.Request) (*http.Response, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Do", arg0) ret0, _ := ret[0].(*http.Response) ret1, _ := ret[1].(error) return ret0, ret1 } // Do indicates an expected call of Do. func (mr *MockHttpClientMockRecorder) Do(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Do", reflect.TypeOf((*MockHttpClient)(nil).Do), arg0) }