Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockBlockchainAPI
- func (m *MockBlockchainAPI) Call(arg0 context.Context, arg1 api.CallArgs, arg2 rpc.BlockNumber) (hexutil.Bytes, error)
- func (m *MockBlockchainAPI) EXPECT() *MockBlockchainAPIMockRecorder
- func (m *MockBlockchainAPI) GetCode(arg0 context.Context, arg1 common.Address, arg2 rpc.BlockNumber) (hexutil.Bytes, error)
- type MockBlockchainAPIMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBlockchainAPI ¶
type MockBlockchainAPI struct {
// contains filtered or unexported fields
}
MockBlockchainAPI is a mock of BlockchainAPI interface
func NewMockBlockchainAPI ¶
func NewMockBlockchainAPI(ctrl *gomock.Controller) *MockBlockchainAPI
NewMockBlockchainAPI creates a new mock instance
func (*MockBlockchainAPI) Call ¶
func (m *MockBlockchainAPI) Call(arg0 context.Context, arg1 api.CallArgs, arg2 rpc.BlockNumber) (hexutil.Bytes, error)
Call mocks base method
func (*MockBlockchainAPI) EXPECT ¶
func (m *MockBlockchainAPI) EXPECT() *MockBlockchainAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockBlockchainAPIMockRecorder ¶
type MockBlockchainAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockBlockchainAPIMockRecorder is the mock recorder for MockBlockchainAPI
func (*MockBlockchainAPIMockRecorder) Call ¶
func (mr *MockBlockchainAPIMockRecorder) Call(arg0, arg1, arg2 interface{}) *gomock.Call
Call indicates an expected call of Call
func (*MockBlockchainAPIMockRecorder) GetCode ¶
func (mr *MockBlockchainAPIMockRecorder) GetCode(arg0, arg1, arg2 interface{}) *gomock.Call
GetCode indicates an expected call of GetCode
Click to show internal directories.
Click to hide internal directories.