mock

package
v1.2.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StateListener

type StateListener struct {
	InterestedInNamespacesStub func() []string

	HandleStateUpdatesStub func(ledgerID string, stateUpdates ledger.StateUpdates, committingBlockNum uint64) error

	StateCommitDoneStub func(channelID string)
	// contains filtered or unexported fields
}

func (*StateListener) HandleStateUpdates

func (fake *StateListener) HandleStateUpdates(ledgerID string, stateUpdates ledger.StateUpdates, committingBlockNum uint64) error

func (*StateListener) HandleStateUpdatesArgsForCall

func (fake *StateListener) HandleStateUpdatesArgsForCall(i int) (string, ledger.StateUpdates, uint64)

func (*StateListener) HandleStateUpdatesCallCount

func (fake *StateListener) HandleStateUpdatesCallCount() int

func (*StateListener) HandleStateUpdatesReturns

func (fake *StateListener) HandleStateUpdatesReturns(result1 error)

func (*StateListener) HandleStateUpdatesReturnsOnCall

func (fake *StateListener) HandleStateUpdatesReturnsOnCall(i int, result1 error)

func (*StateListener) InterestedInNamespaces

func (fake *StateListener) InterestedInNamespaces() []string

func (*StateListener) InterestedInNamespacesCallCount

func (fake *StateListener) InterestedInNamespacesCallCount() int

func (*StateListener) InterestedInNamespacesReturns

func (fake *StateListener) InterestedInNamespacesReturns(result1 []string)

func (*StateListener) InterestedInNamespacesReturnsOnCall

func (fake *StateListener) InterestedInNamespacesReturnsOnCall(i int, result1 []string)

func (*StateListener) Invocations

func (fake *StateListener) Invocations() map[string][][]interface{}

func (*StateListener) StateCommitDone

func (fake *StateListener) StateCommitDone(channelID string)

func (*StateListener) StateCommitDoneArgsForCall

func (fake *StateListener) StateCommitDoneArgsForCall(i int) string

func (*StateListener) StateCommitDoneCallCount

func (fake *StateListener) StateCommitDoneCallCount() int

Jump to

Keyboard shortcuts

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