mock

package
v0.0.0-...-0ff5682 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: internal/core/processor/shared.go

Generated by this command:

mockgen -source=internal/core/processor/shared.go -destination=internal/core/processor/mock/shared.go -package=mock

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBlockHelper

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

MockBlockHelper is a mock of BlockHelper interface.

func NewMockBlockHelper

func NewMockBlockHelper(ctrl *gomock.Controller) *MockBlockHelper

NewMockBlockHelper creates a new mock instance.

func (*MockBlockHelper) EXPECT

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

func (*MockBlockHelper) GetEvoInitStartingBlock

func (m *MockBlockHelper) GetEvoInitStartingBlock(ctx context.Context) (uint64, error)

GetEvoInitStartingBlock mocks base method.

func (*MockBlockHelper) GetLastBlock

func (m *MockBlockHelper) GetLastBlock(ctx context.Context, startingBlock uint64) (uint64, error)

GetLastBlock mocks base method.

func (*MockBlockHelper) GetOwnershipInitStartingBlock

func (m *MockBlockHelper) GetOwnershipInitStartingBlock(ctx context.Context) (uint64, error)

GetOwnershipInitStartingBlock mocks base method.

type MockBlockHelperMockRecorder

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

MockBlockHelperMockRecorder is the mock recorder for MockBlockHelper.

func (*MockBlockHelperMockRecorder) GetEvoInitStartingBlock

func (mr *MockBlockHelperMockRecorder) GetEvoInitStartingBlock(ctx any) *gomock.Call

GetEvoInitStartingBlock indicates an expected call of GetEvoInitStartingBlock.

func (*MockBlockHelperMockRecorder) GetLastBlock

func (mr *MockBlockHelperMockRecorder) GetLastBlock(ctx, startingBlock any) *gomock.Call

GetLastBlock indicates an expected call of GetLastBlock.

func (*MockBlockHelperMockRecorder) GetOwnershipInitStartingBlock

func (mr *MockBlockHelperMockRecorder) GetOwnershipInitStartingBlock(ctx any) *gomock.Call

GetOwnershipInitStartingBlock indicates an expected call of GetOwnershipInitStartingBlock.

Jump to

Keyboard shortcuts

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