mock_bridge

package
v1.0.48 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_bridge is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockVoter

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

MockVoter is a mock of Voter interface.

func NewMockVoter

func NewMockVoter(ctrl *gomock.Controller) *MockVoter

NewMockVoter creates a new mock instance.

func (*MockVoter) EXPECT

func (m *MockVoter) EXPECT() *MockVoterMockRecorder

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

func (*MockVoter) SimulateVoteProposal

func (m *MockVoter) SimulateVoteProposal(proposal *proposal.Proposal) error

SimulateVoteProposal mocks base method.

func (*MockVoter) VoteProposal

func (m *MockVoter) VoteProposal(proposal *proposal.Proposal, opts transactor.TransactOptions) (*common.Hash, error)

VoteProposal mocks base method.

type MockVoterMockRecorder

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

MockVoterMockRecorder is the mock recorder for MockVoter.

func (*MockVoterMockRecorder) SimulateVoteProposal

func (mr *MockVoterMockRecorder) SimulateVoteProposal(proposal interface{}) *gomock.Call

SimulateVoteProposal indicates an expected call of SimulateVoteProposal.

func (*MockVoterMockRecorder) VoteProposal

func (mr *MockVoterMockRecorder) VoteProposal(proposal, opts interface{}) *gomock.Call

VoteProposal indicates an expected call of VoteProposal.

Jump to

Keyboard shortcuts

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