Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIClient ¶
type MockIClient struct {
// contains filtered or unexported fields
}
MockIClient is a mock of IClient interface.
func NewMockIClient ¶
func NewMockIClient(ctrl *gomock.Controller) *MockIClient
NewMockIClient creates a new mock instance.
func (*MockIClient) EXPECT ¶
func (m *MockIClient) EXPECT() *MockIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIClient) GetBlockByHash ¶
GetBlockByHash mocks base method.
func (*MockIClient) GetLatestBlock ¶
GetLatestBlock mocks base method.
type MockIClientMockRecorder ¶
type MockIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockIClientMockRecorder is the mock recorder for MockIClient.
func (*MockIClientMockRecorder) GetBlockByHash ¶
func (mr *MockIClientMockRecorder) GetBlockByHash(ctx, hash interface{}) *gomock.Call
GetBlockByHash indicates an expected call of GetBlockByHash.
func (*MockIClientMockRecorder) GetLatestBlock ¶
func (mr *MockIClientMockRecorder) GetLatestBlock(ctx interface{}) *gomock.Call
GetLatestBlock indicates an expected call of GetLatestBlock.
Click to show internal directories.
Click to hide internal directories.