Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockgenesisProvider ¶
type MockgenesisProvider struct {
// contains filtered or unexported fields
}
MockgenesisProvider is a mock of genesisProvider interface.
func NewMockgenesisProvider ¶
func NewMockgenesisProvider(ctrl *gomock.Controller) *MockgenesisProvider
NewMockgenesisProvider creates a new mock instance.
func (*MockgenesisProvider) EXPECT ¶
func (m *MockgenesisProvider) EXPECT() *MockgenesisProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockgenesisProvider) GetGenesis ¶
func (m *MockgenesisProvider) GetGenesis() (*apimiddleware0.GenesisResponse_GenesisJson, *apimiddleware.DefaultErrorJson, error)
GetGenesis mocks base method.
type MockgenesisProviderMockRecorder ¶
type MockgenesisProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockgenesisProviderMockRecorder is the mock recorder for MockgenesisProvider.
func (*MockgenesisProviderMockRecorder) GetGenesis ¶
func (mr *MockgenesisProviderMockRecorder) GetGenesis() *gomock.Call
GetGenesis indicates an expected call of GetGenesis.
type MockjsonRestHandler ¶
type MockjsonRestHandler struct {
// contains filtered or unexported fields
}
MockjsonRestHandler is a mock of jsonRestHandler interface.
func NewMockjsonRestHandler ¶
func NewMockjsonRestHandler(ctrl *gomock.Controller) *MockjsonRestHandler
NewMockjsonRestHandler creates a new mock instance.
func (*MockjsonRestHandler) EXPECT ¶
func (m *MockjsonRestHandler) EXPECT() *MockjsonRestHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockjsonRestHandler) GetRestJsonResponse ¶
func (m *MockjsonRestHandler) GetRestJsonResponse(query string, responseJson interface{}) (*apimiddleware.DefaultErrorJson, error)
GetRestJsonResponse mocks base method.
type MockjsonRestHandlerMockRecorder ¶
type MockjsonRestHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockjsonRestHandlerMockRecorder is the mock recorder for MockjsonRestHandler.
func (*MockjsonRestHandlerMockRecorder) GetRestJsonResponse ¶
func (mr *MockjsonRestHandlerMockRecorder) GetRestJsonResponse(query, responseJson interface{}) *gomock.Call
GetRestJsonResponse indicates an expected call of GetRestJsonResponse.