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 ¶
func (m *MockAnchorDB) EXPECT() *MockAnchorDBMockRecorder
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 ¶
func (m *MockBlockChain) EXPECT() *MockBlockChainMockRecorder
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) EXPECT ¶
func (m *MockHTTPClient) EXPECT() *MockHTTPClientMockRecorder
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