mock_harmony

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2021 License: MPL-2.0 Imports: 3 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL