Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockatxProvider
- type MockatxProviderMockRecorder
- type MockmeshProvider
- func (m *MockmeshProvider) AddBlockWithTXs(arg0 context.Context, arg1 *types.Block) error
- func (m *MockmeshProvider) EXPECT() *MockmeshProviderMockRecorder
- func (m *MockmeshProvider) GetTransactions(arg0 []types.TransactionID) ([]*types.Transaction, map[types.TransactionID]struct{})
- func (m *MockmeshProvider) HasBlock(arg0 types.BlockID) bool
- type MockmeshProviderMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockatxProvider ¶
type MockatxProvider struct {
// contains filtered or unexported fields
}
MockatxProvider is a mock of atxProvider interface.
func NewMockatxProvider ¶
func NewMockatxProvider(ctrl *gomock.Controller) *MockatxProvider
NewMockatxProvider creates a new mock instance.
func (*MockatxProvider) EXPECT ¶
func (m *MockatxProvider) EXPECT() *MockatxProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockatxProvider) GetAtxHeader ¶
func (m *MockatxProvider) GetAtxHeader(arg0 types.ATXID) (*types.ActivationTxHeader, error)
GetAtxHeader mocks base method.
type MockatxProviderMockRecorder ¶
type MockatxProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockatxProviderMockRecorder is the mock recorder for MockatxProvider.
func (*MockatxProviderMockRecorder) GetAtxHeader ¶
func (mr *MockatxProviderMockRecorder) GetAtxHeader(arg0 interface{}) *gomock.Call
GetAtxHeader indicates an expected call of GetAtxHeader.
type MockmeshProvider ¶
type MockmeshProvider struct {
// contains filtered or unexported fields
}
MockmeshProvider is a mock of meshProvider interface.
func NewMockmeshProvider ¶
func NewMockmeshProvider(ctrl *gomock.Controller) *MockmeshProvider
NewMockmeshProvider creates a new mock instance.
func (*MockmeshProvider) AddBlockWithTXs ¶
AddBlockWithTXs mocks base method.
func (*MockmeshProvider) EXPECT ¶
func (m *MockmeshProvider) EXPECT() *MockmeshProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockmeshProvider) GetTransactions ¶
func (m *MockmeshProvider) GetTransactions(arg0 []types.TransactionID) ([]*types.Transaction, map[types.TransactionID]struct{})
GetTransactions mocks base method.
type MockmeshProviderMockRecorder ¶
type MockmeshProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockmeshProviderMockRecorder is the mock recorder for MockmeshProvider.
func (*MockmeshProviderMockRecorder) AddBlockWithTXs ¶
func (mr *MockmeshProviderMockRecorder) AddBlockWithTXs(arg0, arg1 interface{}) *gomock.Call
AddBlockWithTXs indicates an expected call of AddBlockWithTXs.
func (*MockmeshProviderMockRecorder) GetTransactions ¶
func (mr *MockmeshProviderMockRecorder) GetTransactions(arg0 interface{}) *gomock.Call
GetTransactions indicates an expected call of GetTransactions.
func (*MockmeshProviderMockRecorder) HasBlock ¶
func (mr *MockmeshProviderMockRecorder) HasBlock(arg0 interface{}) *gomock.Call
HasBlock indicates an expected call of HasBlock.