Documentation ¶
Overview ¶
Package mock_harmony is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHarmonyClient ¶
type MockHarmonyClient struct {
// contains filtered or unexported fields
}
MockHarmonyClient is a mock of HarmonyClient interface.
func NewMockHarmonyClient ¶
func NewMockHarmonyClient(ctrl *gomock.Controller) *MockHarmonyClient
NewMockHarmonyClient creates a new mock instance.
func (*MockHarmonyClient) EXPECT ¶
func (m *MockHarmonyClient) EXPECT() *MockHarmonyClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHarmonyClient) GetBlockByNumber ¶
func (m *MockHarmonyClient) GetBlockByNumber(blockNumber int64) (*model.Block, error)
GetBlockByNumber mocks base method.
func (*MockHarmonyClient) GetLatestHeader ¶
func (m *MockHarmonyClient) GetLatestHeader() (*model.Header, error)
GetLatestHeader mocks base method.
type MockHarmonyClientMockRecorder ¶
type MockHarmonyClientMockRecorder struct {
// contains filtered or unexported fields
}
MockHarmonyClientMockRecorder is the mock recorder for MockHarmonyClient.
func (*MockHarmonyClientMockRecorder) GetBlockByNumber ¶
func (mr *MockHarmonyClientMockRecorder) GetBlockByNumber(blockNumber interface{}) *gomock.Call
GetBlockByNumber indicates an expected call of GetBlockByNumber.
func (*MockHarmonyClientMockRecorder) GetLatestHeader ¶
func (mr *MockHarmonyClientMockRecorder) GetLatestHeader() *gomock.Call
GetLatestHeader indicates an expected call of GetLatestHeader.
Click to show internal directories.
Click to hide internal directories.