2020-02-28 15:05:28 -08:00
|
|
|
// Code generated by MockGen. DO NOT EDIT.
|
|
|
|
// Source: x/auth/types/account_retriever.go
|
|
|
|
|
|
|
|
// Package mocks is a generated GoMock package.
|
2019-06-19 05:24:11 -07:00
|
|
|
package mocks
|
|
|
|
|
|
|
|
import (
|
2019-07-22 08:26:42 -07:00
|
|
|
gomock "github.com/golang/mock/gomock"
|
2020-02-28 15:05:28 -08:00
|
|
|
reflect "reflect"
|
2019-06-19 05:24:11 -07:00
|
|
|
)
|
|
|
|
|
2020-02-28 15:05:28 -08:00
|
|
|
// MockNodeQuerier is a mock of NodeQuerier interface
|
2019-06-19 05:24:11 -07:00
|
|
|
type MockNodeQuerier struct {
|
|
|
|
ctrl *gomock.Controller
|
|
|
|
recorder *MockNodeQuerierMockRecorder
|
|
|
|
}
|
|
|
|
|
2020-02-28 15:05:28 -08:00
|
|
|
// MockNodeQuerierMockRecorder is the mock recorder for MockNodeQuerier
|
2019-06-19 05:24:11 -07:00
|
|
|
type MockNodeQuerierMockRecorder struct {
|
|
|
|
mock *MockNodeQuerier
|
|
|
|
}
|
|
|
|
|
2020-02-28 15:05:28 -08:00
|
|
|
// NewMockNodeQuerier creates a new mock instance
|
2019-06-19 05:24:11 -07:00
|
|
|
func NewMockNodeQuerier(ctrl *gomock.Controller) *MockNodeQuerier {
|
|
|
|
mock := &MockNodeQuerier{ctrl: ctrl}
|
|
|
|
mock.recorder = &MockNodeQuerierMockRecorder{mock}
|
|
|
|
return mock
|
|
|
|
}
|
|
|
|
|
2020-02-28 15:05:28 -08:00
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use
|
2019-06-19 05:24:11 -07:00
|
|
|
func (m *MockNodeQuerier) EXPECT() *MockNodeQuerierMockRecorder {
|
|
|
|
return m.recorder
|
|
|
|
}
|
|
|
|
|
2020-02-28 15:05:28 -08:00
|
|
|
// QueryWithData mocks base method
|
2019-06-19 05:24:11 -07:00
|
|
|
func (m *MockNodeQuerier) QueryWithData(path string, data []byte) ([]byte, int64, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "QueryWithData", path, data)
|
|
|
|
ret0, _ := ret[0].([]byte)
|
|
|
|
ret1, _ := ret[1].(int64)
|
|
|
|
ret2, _ := ret[2].(error)
|
|
|
|
return ret0, ret1, ret2
|
|
|
|
}
|
|
|
|
|
2020-02-28 15:05:28 -08:00
|
|
|
// QueryWithData indicates an expected call of QueryWithData
|
2019-06-19 05:24:11 -07:00
|
|
|
func (mr *MockNodeQuerierMockRecorder) QueryWithData(path, data interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "QueryWithData", reflect.TypeOf((*MockNodeQuerier)(nil).QueryWithData), path, data)
|
|
|
|
}
|