mocks

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

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 MockModule

type MockModule struct {
	// contains filtered or unexported fields
}

MockModule is a mock of Module interface.

func NewMockModule

func NewMockModule(ctrl *gomock.Controller) *MockModule

NewMockModule creates a new mock instance.

func (*MockModule) EXPECT

func (m *MockModule) EXPECT() *MockModuleMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockModule) GetByHeight

func (m *MockModule) GetByHeight(arg0 context.Context, arg1 uint64) (*header.ExtendedHeader, error)

GetByHeight mocks base method.

func (*MockModule) Head

Head mocks base method.

func (*MockModule) IsSyncing

func (m *MockModule) IsSyncing(arg0 context.Context) bool

IsSyncing mocks base method.

type MockModuleMockRecorder

type MockModuleMockRecorder struct {
	// contains filtered or unexported fields
}

MockModuleMockRecorder is the mock recorder for MockModule.

func (*MockModuleMockRecorder) GetByHeight

func (mr *MockModuleMockRecorder) GetByHeight(arg0, arg1 interface{}) *gomock.Call

GetByHeight indicates an expected call of GetByHeight.

func (*MockModuleMockRecorder) Head

func (mr *MockModuleMockRecorder) Head(arg0 interface{}) *gomock.Call

Head indicates an expected call of Head.

func (*MockModuleMockRecorder) IsSyncing

func (mr *MockModuleMockRecorder) IsSyncing(arg0 interface{}) *gomock.Call

IsSyncing indicates an expected call of IsSyncing.

Jump to

Keyboard shortcuts

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