mocks

package
v1.8.2-rc.2 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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 MockAnchorDB

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

MockAnchorDB is a mock of AnchorDB interface

func NewMockAnchorDB

func NewMockAnchorDB(ctrl *gomock.Controller) *MockAnchorDB

NewMockAnchorDB creates a new mock instance

func (*MockAnchorDB) EXPECT

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

func (*MockAnchorDB) ReadAnchoredBlockNumber

func (m *MockAnchorDB) ReadAnchoredBlockNumber() uint64

ReadAnchoredBlockNumber mocks base method

func (*MockAnchorDB) WriteAnchoredBlockNumber

func (m *MockAnchorDB) WriteAnchoredBlockNumber(arg0 uint64)

WriteAnchoredBlockNumber mocks base method

type MockAnchorDBMockRecorder

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

MockAnchorDBMockRecorder is the mock recorder for MockAnchorDB

func (*MockAnchorDBMockRecorder) ReadAnchoredBlockNumber

func (mr *MockAnchorDBMockRecorder) ReadAnchoredBlockNumber() *gomock.Call

ReadAnchoredBlockNumber indicates an expected call of ReadAnchoredBlockNumber

func (*MockAnchorDBMockRecorder) WriteAnchoredBlockNumber

func (mr *MockAnchorDBMockRecorder) WriteAnchoredBlockNumber(arg0 interface{}) *gomock.Call

WriteAnchoredBlockNumber indicates an expected call of WriteAnchoredBlockNumber

type MockBlockChain

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

MockBlockChain is a mock of BlockChain interface

func NewMockBlockChain

func NewMockBlockChain(ctrl *gomock.Controller) *MockBlockChain

NewMockBlockChain creates a new mock instance

func (*MockBlockChain) EXPECT

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

func (*MockBlockChain) GetBlockByNumber

func (m *MockBlockChain) GetBlockByNumber(arg0 uint64) *types.Block

GetBlockByNumber mocks base method

type MockBlockChainMockRecorder

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

MockBlockChainMockRecorder is the mock recorder for MockBlockChain

func (*MockBlockChainMockRecorder) GetBlockByNumber

func (mr *MockBlockChainMockRecorder) GetBlockByNumber(arg0 interface{}) *gomock.Call

GetBlockByNumber indicates an expected call of GetBlockByNumber

type MockHTTPClient

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

MockHTTPClient is a mock of HTTPClient interface

func NewMockHTTPClient

func NewMockHTTPClient(ctrl *gomock.Controller) *MockHTTPClient

NewMockHTTPClient creates a new mock instance

func (*MockHTTPClient) Do

func (m *MockHTTPClient) Do(arg0 *http.Request) (*http.Response, error)

Do mocks base method

func (*MockHTTPClient) EXPECT

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

type MockHTTPClientMockRecorder

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

MockHTTPClientMockRecorder is the mock recorder for MockHTTPClient

func (*MockHTTPClientMockRecorder) Do

func (mr *MockHTTPClientMockRecorder) Do(arg0 interface{}) *gomock.Call

Do indicates an expected call of Do

Jump to

Keyboard shortcuts

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