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 ¶
func (m *MockModule) Head(arg0 context.Context) (*header.ExtendedHeader, error)
Head 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() *gomock.Call
IsSyncing indicates an expected call of IsSyncing.
Click to show internal directories.
Click to hide internal directories.