Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) BlockHeader(arg0 context.Context, arg1 uint32) (*proto.BlockHeader, error)
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) Height(arg0 context.Context) (uint32, error)
- func (m *MockInterface) Transaction(arg0 context.Context, arg1 string) (*alicenet.MinedTransactionResponse, error)
- type MockInterfaceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) BlockHeader ¶
func (m *MockInterface) BlockHeader(arg0 context.Context, arg1 uint32) (*proto.BlockHeader, error)
BlockHeader mocks base method.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) Height ¶
func (m *MockInterface) Height(arg0 context.Context) (uint32, error)
Height mocks base method.
func (*MockInterface) Transaction ¶
func (m *MockInterface) Transaction(arg0 context.Context, arg1 string) (*alicenet.MinedTransactionResponse, error)
Transaction mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) BlockHeader ¶
func (mr *MockInterfaceMockRecorder) BlockHeader(arg0, arg1 interface{}) *gomock.Call
BlockHeader indicates an expected call of BlockHeader.
func (*MockInterfaceMockRecorder) Height ¶
func (mr *MockInterfaceMockRecorder) Height(arg0 interface{}) *gomock.Call
Height indicates an expected call of Height.
func (*MockInterfaceMockRecorder) Transaction ¶
func (mr *MockInterfaceMockRecorder) Transaction(arg0, arg1 interface{}) *gomock.Call
Transaction indicates an expected call of Transaction.
Click to show internal directories.
Click to hide internal directories.