mock

package
v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBlockchain

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

MockBlockchain is a mock of Blockchain interface

func NewMockBlockchain

func NewMockBlockchain(ctrl *gomock.Controller) *MockBlockchain

NewMockBlockchain creates a new mock instance

func (*MockBlockchain) DistributeReward

func (m *MockBlockchain) DistributeReward(receiver types.AccAddress, id, reward uint64) error

DistributeReward mocks base method

func (*MockBlockchain) EXPECT

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

type MockBlockchainMockRecorder

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

MockBlockchainMockRecorder is the mock recorder for MockBlockchain

func (*MockBlockchainMockRecorder) DistributeReward

func (mr *MockBlockchainMockRecorder) DistributeReward(receiver, id, reward interface{}) *gomock.Call

DistributeReward indicates an expected call of DistributeReward

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL