mock

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 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) DistributeRewards added in v1.4.0

func (m *MockBlockchain) DistributeRewards(rewards []blockchain.Reward) (string, error)

DistributeRewards mocks base method

func (*MockBlockchain) EXPECT

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

func (*MockBlockchain) SendStakes added in v1.5.5

func (m *MockBlockchain) SendStakes(stakes []blockchain.Stake, memo string) error

SendStakes mocks base method

type MockBlockchainMockRecorder

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

MockBlockchainMockRecorder is the mock recorder for MockBlockchain

func (*MockBlockchainMockRecorder) DistributeRewards added in v1.4.0

func (mr *MockBlockchainMockRecorder) DistributeRewards(rewards interface{}) *gomock.Call

DistributeRewards indicates an expected call of DistributeRewards

func (*MockBlockchainMockRecorder) SendStakes added in v1.5.5

func (mr *MockBlockchainMockRecorder) SendStakes(stakes, memo interface{}) *gomock.Call

SendStakes indicates an expected call of SendStakes

Jump to

Keyboard shortcuts

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