Back to godoc.org
github.com/iotexproject/iotex-core/test/mock/mock_blockcreationsubscriber

package mock_blockcreationsubscriber

v1.0.0
Latest Go to latest
Published: May 14, 2020 | License: Apache-2.0 | Module: github.com/iotexproject/iotex-core

Overview

Package mock_blockcreationsubscriber is a generated GoMock package.

Index

type MockBlockCreationSubscriber

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

MockBlockCreationSubscriber is a mock of BlockCreationSubscriber interface

func NewMockBlockCreationSubscriber

func NewMockBlockCreationSubscriber(ctrl *gomock.Controller) *MockBlockCreationSubscriber

NewMockBlockCreationSubscriber creates a new mock instance

func (*MockBlockCreationSubscriber) EXPECT

func (m *MockBlockCreationSubscriber) EXPECT() *MockBlockCreationSubscriberMockRecorder

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

func (*MockBlockCreationSubscriber) ReceiveBlock

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

ReceiveBlock mocks base method

type MockBlockCreationSubscriberMockRecorder

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

MockBlockCreationSubscriberMockRecorder is the mock recorder for MockBlockCreationSubscriber

func (*MockBlockCreationSubscriberMockRecorder) ReceiveBlock

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

ReceiveBlock indicates an expected call of ReceiveBlock

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier