iotex-core: github.com/iotexproject/iotex-core/test/mock/mock_blockcreationsubscriber Index | Files

package mock_blockcreationsubscriber

import "github.com/iotexproject/iotex-core/test/mock/mock_blockcreationsubscriber"

Package mock_blockcreationsubscriber is a generated GoMock package.

Index

Package Files

mock_blockcreationsubscriber.go

type MockBlockCreationSubscriber Uses

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

MockBlockCreationSubscriber is a mock of BlockCreationSubscriber interface

func NewMockBlockCreationSubscriber Uses

func NewMockBlockCreationSubscriber(ctrl *gomock.Controller) *MockBlockCreationSubscriber

NewMockBlockCreationSubscriber creates a new mock instance

func (*MockBlockCreationSubscriber) EXPECT Uses

func (m *MockBlockCreationSubscriber) EXPECT() *MockBlockCreationSubscriberMockRecorder

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

func (*MockBlockCreationSubscriber) ReceiveBlock Uses

func (m *MockBlockCreationSubscriber) ReceiveBlock(arg0 *block.Block) error

ReceiveBlock mocks base method

type MockBlockCreationSubscriberMockRecorder Uses

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

MockBlockCreationSubscriberMockRecorder is the mock recorder for MockBlockCreationSubscriber

func (*MockBlockCreationSubscriberMockRecorder) ReceiveBlock Uses

func (mr *MockBlockCreationSubscriberMockRecorder) ReceiveBlock(arg0 interface{}) *gomock.Call

ReceiveBlock indicates an expected call of ReceiveBlock

Package mock_blockcreationsubscriber imports 3 packages (graph). Updated 2020-01-18. Refresh now. Tools for package owners.