testutils

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JetFromString added in v0.8.0

func JetFromString(s string) core.RecordID

JetFromString converts string representation of Jet to core.RecordID.

Examples: "010" converts to Jet with depth 3 and prefix "01".

func NewPlatformCryptographyScheme added in v0.7.5

func NewPlatformCryptographyScheme() core.PlatformCryptographyScheme

func RandomID added in v0.6.0

func RandomID() core.RecordID

RandomID generates random object ID

func RandomJet added in v0.7.5

func RandomJet() core.RecordID

RandomJet generates random jet with random depth.

func RandomJetWithDepth added in v0.8.0

func RandomJetWithDepth(depth uint8) core.RecordID

RandomJetWithDepth generates random jet with provided depth.

func RandomRef

func RandomRef() core.RecordRef

RandomRef generates random object reference

func RandomString added in v0.3.0

func RandomString() string

RandomString generates random uuid and return it as a string

Types

type ActiveListSwapperMock added in v0.7.5

type ActiveListSwapperMock struct {
	MoveSyncToActiveFunc       func(p context.Context) (r error)
	MoveSyncToActiveCounter    uint64
	MoveSyncToActivePreCounter uint64
	MoveSyncToActiveMock       mActiveListSwapperMockMoveSyncToActive
	// contains filtered or unexported fields
}

ActiveListSwapperMock implements github.com/insolar/insolar/ledger/pulsemanager.ActiveListSwapper

func NewActiveListSwapperMock added in v0.7.5

func NewActiveListSwapperMock(t minimock.Tester) *ActiveListSwapperMock

NewActiveListSwapperMock returns a mock for github.com/insolar/insolar/ledger/pulsemanager.ActiveListSwapper

func (*ActiveListSwapperMock) AllMocksCalled added in v0.7.5

func (m *ActiveListSwapperMock) AllMocksCalled() bool

AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())

func (*ActiveListSwapperMock) CheckMocksCalled added in v0.7.5

func (m *ActiveListSwapperMock) CheckMocksCalled()

CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*ActiveListSwapperMock) Finish added in v0.7.5

func (m *ActiveListSwapperMock) Finish()

Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller

func (*ActiveListSwapperMock) MinimockFinish added in v0.7.5

func (m *ActiveListSwapperMock) MinimockFinish()

MinimockFinish checks that all mocked methods of the interface have been called at least once

func (*ActiveListSwapperMock) MinimockWait added in v0.7.5

func (m *ActiveListSwapperMock) MinimockWait(timeout time.Duration)

MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller

func (*ActiveListSwapperMock) MoveSyncToActive added in v0.7.5

func (m *ActiveListSwapperMock) MoveSyncToActive(p context.Context) (r error)

MoveSyncToActive implements github.com/insolar/insolar/ledger/pulsemanager.ActiveListSwapper interface

func (*ActiveListSwapperMock) MoveSyncToActiveFinished added in v0.7.5

func (m *ActiveListSwapperMock) MoveSyncToActiveFinished() bool

MoveSyncToActiveFinished returns true if mock invocations count is ok

func (*ActiveListSwapperMock) MoveSyncToActiveMinimockCounter added in v0.7.5

func (m *ActiveListSwapperMock) MoveSyncToActiveMinimockCounter() uint64

MoveSyncToActiveMinimockCounter returns a count of ActiveListSwapperMock.MoveSyncToActiveFunc invocations

func (*ActiveListSwapperMock) MoveSyncToActiveMinimockPreCounter added in v0.7.5

func (m *ActiveListSwapperMock) MoveSyncToActiveMinimockPreCounter() uint64

MoveSyncToActiveMinimockPreCounter returns the value of ActiveListSwapperMock.MoveSyncToActive invocations

func (*ActiveListSwapperMock) ValidateCallCounters added in v0.7.5

func (m *ActiveListSwapperMock) ValidateCallCounters()

ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*ActiveListSwapperMock) Wait added in v0.7.5

func (m *ActiveListSwapperMock) Wait(timeout time.Duration)

Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller

type ActiveListSwapperMockMoveSyncToActiveExpectation added in v0.7.5

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

func (*ActiveListSwapperMockMoveSyncToActiveExpectation) Return added in v0.8.0

type ActiveListSwapperMockMoveSyncToActiveInput added in v0.8.0

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

type ActiveListSwapperMockMoveSyncToActiveResult added in v0.8.0

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

type ArtifactManagerMock added in v0.6.3

type ArtifactManagerMock struct {
	ActivateObjectFunc       func(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 core.RecordRef, p4 core.RecordRef, p5 bool, p6 []byte) (r core.ObjectDescriptor, r1 error)
	ActivateObjectCounter    uint64
	ActivateObjectPreCounter uint64
	ActivateObjectMock       mArtifactManagerMockActivateObject

	ActivatePrototypeFunc       func(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 core.RecordRef, p4 core.RecordRef, p5 []byte) (r core.ObjectDescriptor, r1 error)
	ActivatePrototypeCounter    uint64
	ActivatePrototypePreCounter uint64
	ActivatePrototypeMock       mArtifactManagerMockActivatePrototype

	DeactivateObjectFunc       func(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 core.ObjectDescriptor) (r *core.RecordID, r1 error)
	DeactivateObjectCounter    uint64
	DeactivateObjectPreCounter uint64
	DeactivateObjectMock       mArtifactManagerMockDeactivateObject

	DeclareTypeFunc       func(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 []byte) (r *core.RecordID, r1 error)
	DeclareTypeCounter    uint64
	DeclareTypePreCounter uint64
	DeclareTypeMock       mArtifactManagerMockDeclareType

	DeployCodeFunc       func(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 []byte, p4 core.MachineType) (r *core.RecordID, r1 error)
	DeployCodeCounter    uint64
	DeployCodePreCounter uint64
	DeployCodeMock       mArtifactManagerMockDeployCode

	GenesisRefFunc       func() (r *core.RecordRef)
	GenesisRefCounter    uint64
	GenesisRefPreCounter uint64
	GenesisRefMock       mArtifactManagerMockGenesisRef

	GetChildrenFunc       func(p context.Context, p1 core.RecordRef, p2 *core.PulseNumber) (r core.RefIterator, r1 error)
	GetChildrenCounter    uint64
	GetChildrenPreCounter uint64
	GetChildrenMock       mArtifactManagerMockGetChildren

	GetCodeFunc       func(p context.Context, p1 core.RecordRef) (r core.CodeDescriptor, r1 error)
	GetCodeCounter    uint64
	GetCodePreCounter uint64
	GetCodeMock       mArtifactManagerMockGetCode

	GetDelegateFunc       func(p context.Context, p1 core.RecordRef, p2 core.RecordRef) (r *core.RecordRef, r1 error)
	GetDelegateCounter    uint64
	GetDelegatePreCounter uint64
	GetDelegateMock       mArtifactManagerMockGetDelegate

	GetObjectFunc       func(p context.Context, p1 core.RecordRef, p2 *core.RecordID, p3 bool) (r core.ObjectDescriptor, r1 error)
	GetObjectCounter    uint64
	GetObjectPreCounter uint64
	GetObjectMock       mArtifactManagerMockGetObject

	GetPendingRequestFunc       func(p context.Context, p1 core.RecordID) (r core.Parcel, r1 error)
	GetPendingRequestCounter    uint64
	GetPendingRequestPreCounter uint64
	GetPendingRequestMock       mArtifactManagerMockGetPendingRequest

	HasPendingRequestsFunc       func(p context.Context, p1 core.RecordRef) (r bool, r1 error)
	HasPendingRequestsCounter    uint64
	HasPendingRequestsPreCounter uint64
	HasPendingRequestsMock       mArtifactManagerMockHasPendingRequests

	RegisterRequestFunc       func(p context.Context, p1 core.RecordRef, p2 core.Parcel) (r *core.RecordID, r1 error)
	RegisterRequestCounter    uint64
	RegisterRequestPreCounter uint64
	RegisterRequestMock       mArtifactManagerMockRegisterRequest

	RegisterResultFunc       func(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 []byte) (r *core.RecordID, r1 error)
	RegisterResultCounter    uint64
	RegisterResultPreCounter uint64
	RegisterResultMock       mArtifactManagerMockRegisterResult

	RegisterValidationFunc       func(p context.Context, p1 core.RecordRef, p2 core.RecordID, p3 bool, p4 []core.Message) (r error)
	RegisterValidationCounter    uint64
	RegisterValidationPreCounter uint64
	RegisterValidationMock       mArtifactManagerMockRegisterValidation

	StateFunc       func() (r []byte, r1 error)
	StateCounter    uint64
	StatePreCounter uint64
	StateMock       mArtifactManagerMockState

	UpdateObjectFunc       func(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 core.ObjectDescriptor, p4 []byte) (r core.ObjectDescriptor, r1 error)
	UpdateObjectCounter    uint64
	UpdateObjectPreCounter uint64
	UpdateObjectMock       mArtifactManagerMockUpdateObject

	UpdatePrototypeFunc       func(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 core.ObjectDescriptor, p4 []byte, p5 *core.RecordRef) (r core.ObjectDescriptor, r1 error)
	UpdatePrototypeCounter    uint64
	UpdatePrototypePreCounter uint64
	UpdatePrototypeMock       mArtifactManagerMockUpdatePrototype
	// contains filtered or unexported fields
}

ArtifactManagerMock implements github.com/insolar/insolar/core.ArtifactManager

func NewArtifactManagerMock added in v0.6.3

func NewArtifactManagerMock(t minimock.Tester) *ArtifactManagerMock

NewArtifactManagerMock returns a mock for github.com/insolar/insolar/core.ArtifactManager

func (*ArtifactManagerMock) ActivateObject added in v0.6.3

func (m *ArtifactManagerMock) ActivateObject(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 core.RecordRef, p4 core.RecordRef, p5 bool, p6 []byte) (r core.ObjectDescriptor, r1 error)

ActivateObject implements github.com/insolar/insolar/core.ArtifactManager interface

func (*ArtifactManagerMock) ActivateObjectFinished added in v0.7.5

func (m *ArtifactManagerMock) ActivateObjectFinished() bool

ActivateObjectFinished returns true if mock invocations count is ok

func (*ArtifactManagerMock) ActivateObjectMinimockCounter added in v0.6.3

func (m *ArtifactManagerMock) ActivateObjectMinimockCounter() uint64

ActivateObjectMinimockCounter returns a count of ArtifactManagerMock.ActivateObjectFunc invocations

func (*ArtifactManagerMock) ActivateObjectMinimockPreCounter added in v0.6.3

func (m *ArtifactManagerMock) ActivateObjectMinimockPreCounter() uint64

ActivateObjectMinimockPreCounter returns the value of ArtifactManagerMock.ActivateObject invocations

func (*ArtifactManagerMock) ActivatePrototype added in v0.6.3

func (m *ArtifactManagerMock) ActivatePrototype(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 core.RecordRef, p4 core.RecordRef, p5 []byte) (r core.ObjectDescriptor, r1 error)

ActivatePrototype implements github.com/insolar/insolar/core.ArtifactManager interface

func (*ArtifactManagerMock) ActivatePrototypeFinished added in v0.7.5

func (m *ArtifactManagerMock) ActivatePrototypeFinished() bool

ActivatePrototypeFinished returns true if mock invocations count is ok

func (*ArtifactManagerMock) ActivatePrototypeMinimockCounter added in v0.6.3

func (m *ArtifactManagerMock) ActivatePrototypeMinimockCounter() uint64

ActivatePrototypeMinimockCounter returns a count of ArtifactManagerMock.ActivatePrototypeFunc invocations

func (*ArtifactManagerMock) ActivatePrototypeMinimockPreCounter added in v0.6.3

func (m *ArtifactManagerMock) ActivatePrototypeMinimockPreCounter() uint64

ActivatePrototypeMinimockPreCounter returns the value of ArtifactManagerMock.ActivatePrototype invocations

func (*ArtifactManagerMock) AllMocksCalled added in v0.6.3

func (m *ArtifactManagerMock) AllMocksCalled() bool

AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())

func (*ArtifactManagerMock) CheckMocksCalled added in v0.6.3

func (m *ArtifactManagerMock) CheckMocksCalled()

CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*ArtifactManagerMock) DeactivateObject added in v0.6.3

func (m *ArtifactManagerMock) DeactivateObject(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 core.ObjectDescriptor) (r *core.RecordID, r1 error)

DeactivateObject implements github.com/insolar/insolar/core.ArtifactManager interface

func (*ArtifactManagerMock) DeactivateObjectFinished added in v0.7.5

func (m *ArtifactManagerMock) DeactivateObjectFinished() bool

DeactivateObjectFinished returns true if mock invocations count is ok

func (*ArtifactManagerMock) DeactivateObjectMinimockCounter added in v0.6.3

func (m *ArtifactManagerMock) DeactivateObjectMinimockCounter() uint64

DeactivateObjectMinimockCounter returns a count of ArtifactManagerMock.DeactivateObjectFunc invocations

func (*ArtifactManagerMock) DeactivateObjectMinimockPreCounter added in v0.6.3

func (m *ArtifactManagerMock) DeactivateObjectMinimockPreCounter() uint64

DeactivateObjectMinimockPreCounter returns the value of ArtifactManagerMock.DeactivateObject invocations

func (*ArtifactManagerMock) DeclareType added in v0.6.3

func (m *ArtifactManagerMock) DeclareType(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 []byte) (r *core.RecordID, r1 error)

DeclareType implements github.com/insolar/insolar/core.ArtifactManager interface

func (*ArtifactManagerMock) DeclareTypeFinished added in v0.7.5

func (m *ArtifactManagerMock) DeclareTypeFinished() bool

DeclareTypeFinished returns true if mock invocations count is ok

func (*ArtifactManagerMock) DeclareTypeMinimockCounter added in v0.6.3

func (m *ArtifactManagerMock) DeclareTypeMinimockCounter() uint64

DeclareTypeMinimockCounter returns a count of ArtifactManagerMock.DeclareTypeFunc invocations

func (*ArtifactManagerMock) DeclareTypeMinimockPreCounter added in v0.6.3

func (m *ArtifactManagerMock) DeclareTypeMinimockPreCounter() uint64

DeclareTypeMinimockPreCounter returns the value of ArtifactManagerMock.DeclareType invocations

func (*ArtifactManagerMock) DeployCode added in v0.6.3

func (m *ArtifactManagerMock) DeployCode(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 []byte, p4 core.MachineType) (r *core.RecordID, r1 error)

DeployCode implements github.com/insolar/insolar/core.ArtifactManager interface

func (*ArtifactManagerMock) DeployCodeFinished added in v0.7.5

func (m *ArtifactManagerMock) DeployCodeFinished() bool

DeployCodeFinished returns true if mock invocations count is ok

func (*ArtifactManagerMock) DeployCodeMinimockCounter added in v0.6.3

func (m *ArtifactManagerMock) DeployCodeMinimockCounter() uint64

DeployCodeMinimockCounter returns a count of ArtifactManagerMock.DeployCodeFunc invocations

func (*ArtifactManagerMock) DeployCodeMinimockPreCounter added in v0.6.3

func (m *ArtifactManagerMock) DeployCodeMinimockPreCounter() uint64

DeployCodeMinimockPreCounter returns the value of ArtifactManagerMock.DeployCode invocations

func (*ArtifactManagerMock) Finish added in v0.6.3

func (m *ArtifactManagerMock) Finish()

Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller

func (*ArtifactManagerMock) GenesisRef added in v0.6.3

func (m *ArtifactManagerMock) GenesisRef() (r *core.RecordRef)

GenesisRef implements github.com/insolar/insolar/core.ArtifactManager interface

func (*ArtifactManagerMock) GenesisRefFinished added in v0.7.5

func (m *ArtifactManagerMock) GenesisRefFinished() bool

GenesisRefFinished returns true if mock invocations count is ok

func (*ArtifactManagerMock) GenesisRefMinimockCounter added in v0.6.3

func (m *ArtifactManagerMock) GenesisRefMinimockCounter() uint64

GenesisRefMinimockCounter returns a count of ArtifactManagerMock.GenesisRefFunc invocations

func (*ArtifactManagerMock) GenesisRefMinimockPreCounter added in v0.6.3

func (m *ArtifactManagerMock) GenesisRefMinimockPreCounter() uint64

GenesisRefMinimockPreCounter returns the value of ArtifactManagerMock.GenesisRef invocations

func (*ArtifactManagerMock) GetChildren added in v0.6.3

GetChildren implements github.com/insolar/insolar/core.ArtifactManager interface

func (*ArtifactManagerMock) GetChildrenFinished added in v0.7.5

func (m *ArtifactManagerMock) GetChildrenFinished() bool

GetChildrenFinished returns true if mock invocations count is ok

func (*ArtifactManagerMock) GetChildrenMinimockCounter added in v0.6.3

func (m *ArtifactManagerMock) GetChildrenMinimockCounter() uint64

GetChildrenMinimockCounter returns a count of ArtifactManagerMock.GetChildrenFunc invocations

func (*ArtifactManagerMock) GetChildrenMinimockPreCounter added in v0.6.3

func (m *ArtifactManagerMock) GetChildrenMinimockPreCounter() uint64

GetChildrenMinimockPreCounter returns the value of ArtifactManagerMock.GetChildren invocations

func (*ArtifactManagerMock) GetCode added in v0.6.3

GetCode implements github.com/insolar/insolar/core.ArtifactManager interface

func (*ArtifactManagerMock) GetCodeFinished added in v0.7.5

func (m *ArtifactManagerMock) GetCodeFinished() bool

GetCodeFinished returns true if mock invocations count is ok

func (*ArtifactManagerMock) GetCodeMinimockCounter added in v0.6.3

func (m *ArtifactManagerMock) GetCodeMinimockCounter() uint64

GetCodeMinimockCounter returns a count of ArtifactManagerMock.GetCodeFunc invocations

func (*ArtifactManagerMock) GetCodeMinimockPreCounter added in v0.6.3

func (m *ArtifactManagerMock) GetCodeMinimockPreCounter() uint64

GetCodeMinimockPreCounter returns the value of ArtifactManagerMock.GetCode invocations

func (*ArtifactManagerMock) GetDelegate added in v0.6.3

func (m *ArtifactManagerMock) GetDelegate(p context.Context, p1 core.RecordRef, p2 core.RecordRef) (r *core.RecordRef, r1 error)

GetDelegate implements github.com/insolar/insolar/core.ArtifactManager interface

func (*ArtifactManagerMock) GetDelegateFinished added in v0.7.5

func (m *ArtifactManagerMock) GetDelegateFinished() bool

GetDelegateFinished returns true if mock invocations count is ok

func (*ArtifactManagerMock) GetDelegateMinimockCounter added in v0.6.3

func (m *ArtifactManagerMock) GetDelegateMinimockCounter() uint64

GetDelegateMinimockCounter returns a count of ArtifactManagerMock.GetDelegateFunc invocations

func (*ArtifactManagerMock) GetDelegateMinimockPreCounter added in v0.6.3

func (m *ArtifactManagerMock) GetDelegateMinimockPreCounter() uint64

GetDelegateMinimockPreCounter returns the value of ArtifactManagerMock.GetDelegate invocations

func (*ArtifactManagerMock) GetObject added in v0.6.3

GetObject implements github.com/insolar/insolar/core.ArtifactManager interface

func (*ArtifactManagerMock) GetObjectFinished added in v0.7.5

func (m *ArtifactManagerMock) GetObjectFinished() bool

GetObjectFinished returns true if mock invocations count is ok

func (*ArtifactManagerMock) GetObjectMinimockCounter added in v0.6.3

func (m *ArtifactManagerMock) GetObjectMinimockCounter() uint64

GetObjectMinimockCounter returns a count of ArtifactManagerMock.GetObjectFunc invocations

func (*ArtifactManagerMock) GetObjectMinimockPreCounter added in v0.6.3

func (m *ArtifactManagerMock) GetObjectMinimockPreCounter() uint64

GetObjectMinimockPreCounter returns the value of ArtifactManagerMock.GetObject invocations

func (*ArtifactManagerMock) GetPendingRequest added in v0.8.0

func (m *ArtifactManagerMock) GetPendingRequest(p context.Context, p1 core.RecordID) (r core.Parcel, r1 error)

GetPendingRequest implements github.com/insolar/insolar/core.ArtifactManager interface

func (*ArtifactManagerMock) GetPendingRequestFinished added in v0.8.0

func (m *ArtifactManagerMock) GetPendingRequestFinished() bool

GetPendingRequestFinished returns true if mock invocations count is ok

func (*ArtifactManagerMock) GetPendingRequestMinimockCounter added in v0.8.0

func (m *ArtifactManagerMock) GetPendingRequestMinimockCounter() uint64

GetPendingRequestMinimockCounter returns a count of ArtifactManagerMock.GetPendingRequestFunc invocations

func (*ArtifactManagerMock) GetPendingRequestMinimockPreCounter added in v0.8.0

func (m *ArtifactManagerMock) GetPendingRequestMinimockPreCounter() uint64

GetPendingRequestMinimockPreCounter returns the value of ArtifactManagerMock.GetPendingRequest invocations

func (*ArtifactManagerMock) HasPendingRequests added in v0.7.5

func (m *ArtifactManagerMock) HasPendingRequests(p context.Context, p1 core.RecordRef) (r bool, r1 error)

HasPendingRequests implements github.com/insolar/insolar/core.ArtifactManager interface

func (*ArtifactManagerMock) HasPendingRequestsFinished added in v0.7.5

func (m *ArtifactManagerMock) HasPendingRequestsFinished() bool

HasPendingRequestsFinished returns true if mock invocations count is ok

func (*ArtifactManagerMock) HasPendingRequestsMinimockCounter added in v0.7.5

func (m *ArtifactManagerMock) HasPendingRequestsMinimockCounter() uint64

HasPendingRequestsMinimockCounter returns a count of ArtifactManagerMock.HasPendingRequestsFunc invocations

func (*ArtifactManagerMock) HasPendingRequestsMinimockPreCounter added in v0.7.5

func (m *ArtifactManagerMock) HasPendingRequestsMinimockPreCounter() uint64

HasPendingRequestsMinimockPreCounter returns the value of ArtifactManagerMock.HasPendingRequests invocations

func (*ArtifactManagerMock) MinimockFinish added in v0.6.3

func (m *ArtifactManagerMock) MinimockFinish()

MinimockFinish checks that all mocked methods of the interface have been called at least once

func (*ArtifactManagerMock) MinimockWait added in v0.6.3

func (m *ArtifactManagerMock) MinimockWait(timeout time.Duration)

MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller

func (*ArtifactManagerMock) RegisterRequest added in v0.6.3

func (m *ArtifactManagerMock) RegisterRequest(p context.Context, p1 core.RecordRef, p2 core.Parcel) (r *core.RecordID, r1 error)

RegisterRequest implements github.com/insolar/insolar/core.ArtifactManager interface

func (*ArtifactManagerMock) RegisterRequestFinished added in v0.7.5

func (m *ArtifactManagerMock) RegisterRequestFinished() bool

RegisterRequestFinished returns true if mock invocations count is ok

func (*ArtifactManagerMock) RegisterRequestMinimockCounter added in v0.6.3

func (m *ArtifactManagerMock) RegisterRequestMinimockCounter() uint64

RegisterRequestMinimockCounter returns a count of ArtifactManagerMock.RegisterRequestFunc invocations

func (*ArtifactManagerMock) RegisterRequestMinimockPreCounter added in v0.6.3

func (m *ArtifactManagerMock) RegisterRequestMinimockPreCounter() uint64

RegisterRequestMinimockPreCounter returns the value of ArtifactManagerMock.RegisterRequest invocations

func (*ArtifactManagerMock) RegisterResult added in v0.6.3

func (m *ArtifactManagerMock) RegisterResult(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 []byte) (r *core.RecordID, r1 error)

RegisterResult implements github.com/insolar/insolar/core.ArtifactManager interface

func (*ArtifactManagerMock) RegisterResultFinished added in v0.7.5

func (m *ArtifactManagerMock) RegisterResultFinished() bool

RegisterResultFinished returns true if mock invocations count is ok

func (*ArtifactManagerMock) RegisterResultMinimockCounter added in v0.6.3

func (m *ArtifactManagerMock) RegisterResultMinimockCounter() uint64

RegisterResultMinimockCounter returns a count of ArtifactManagerMock.RegisterResultFunc invocations

func (*ArtifactManagerMock) RegisterResultMinimockPreCounter added in v0.6.3

func (m *ArtifactManagerMock) RegisterResultMinimockPreCounter() uint64

RegisterResultMinimockPreCounter returns the value of ArtifactManagerMock.RegisterResult invocations

func (*ArtifactManagerMock) RegisterValidation added in v0.6.3

func (m *ArtifactManagerMock) RegisterValidation(p context.Context, p1 core.RecordRef, p2 core.RecordID, p3 bool, p4 []core.Message) (r error)

RegisterValidation implements github.com/insolar/insolar/core.ArtifactManager interface

func (*ArtifactManagerMock) RegisterValidationFinished added in v0.7.5

func (m *ArtifactManagerMock) RegisterValidationFinished() bool

RegisterValidationFinished returns true if mock invocations count is ok

func (*ArtifactManagerMock) RegisterValidationMinimockCounter added in v0.6.3

func (m *ArtifactManagerMock) RegisterValidationMinimockCounter() uint64

RegisterValidationMinimockCounter returns a count of ArtifactManagerMock.RegisterValidationFunc invocations

func (*ArtifactManagerMock) RegisterValidationMinimockPreCounter added in v0.6.3

func (m *ArtifactManagerMock) RegisterValidationMinimockPreCounter() uint64

RegisterValidationMinimockPreCounter returns the value of ArtifactManagerMock.RegisterValidation invocations

func (*ArtifactManagerMock) State added in v0.6.3

func (m *ArtifactManagerMock) State() (r []byte, r1 error)

State implements github.com/insolar/insolar/core.ArtifactManager interface

func (*ArtifactManagerMock) StateFinished added in v0.7.5

func (m *ArtifactManagerMock) StateFinished() bool

StateFinished returns true if mock invocations count is ok

func (*ArtifactManagerMock) StateMinimockCounter added in v0.6.3

func (m *ArtifactManagerMock) StateMinimockCounter() uint64

StateMinimockCounter returns a count of ArtifactManagerMock.StateFunc invocations

func (*ArtifactManagerMock) StateMinimockPreCounter added in v0.6.3

func (m *ArtifactManagerMock) StateMinimockPreCounter() uint64

StateMinimockPreCounter returns the value of ArtifactManagerMock.State invocations

func (*ArtifactManagerMock) UpdateObject added in v0.6.3

UpdateObject implements github.com/insolar/insolar/core.ArtifactManager interface

func (*ArtifactManagerMock) UpdateObjectFinished added in v0.7.5

func (m *ArtifactManagerMock) UpdateObjectFinished() bool

UpdateObjectFinished returns true if mock invocations count is ok

func (*ArtifactManagerMock) UpdateObjectMinimockCounter added in v0.6.3

func (m *ArtifactManagerMock) UpdateObjectMinimockCounter() uint64

UpdateObjectMinimockCounter returns a count of ArtifactManagerMock.UpdateObjectFunc invocations

func (*ArtifactManagerMock) UpdateObjectMinimockPreCounter added in v0.6.3

func (m *ArtifactManagerMock) UpdateObjectMinimockPreCounter() uint64

UpdateObjectMinimockPreCounter returns the value of ArtifactManagerMock.UpdateObject invocations

func (*ArtifactManagerMock) UpdatePrototype added in v0.6.3

UpdatePrototype implements github.com/insolar/insolar/core.ArtifactManager interface

func (*ArtifactManagerMock) UpdatePrototypeFinished added in v0.7.5

func (m *ArtifactManagerMock) UpdatePrototypeFinished() bool

UpdatePrototypeFinished returns true if mock invocations count is ok

func (*ArtifactManagerMock) UpdatePrototypeMinimockCounter added in v0.6.3

func (m *ArtifactManagerMock) UpdatePrototypeMinimockCounter() uint64

UpdatePrototypeMinimockCounter returns a count of ArtifactManagerMock.UpdatePrototypeFunc invocations

func (*ArtifactManagerMock) UpdatePrototypeMinimockPreCounter added in v0.6.3

func (m *ArtifactManagerMock) UpdatePrototypeMinimockPreCounter() uint64

UpdatePrototypeMinimockPreCounter returns the value of ArtifactManagerMock.UpdatePrototype invocations

func (*ArtifactManagerMock) ValidateCallCounters added in v0.6.3

func (m *ArtifactManagerMock) ValidateCallCounters()

ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*ArtifactManagerMock) Wait added in v0.6.3

func (m *ArtifactManagerMock) Wait(timeout time.Duration)

Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller

type ArtifactManagerMockActivateObjectExpectation added in v0.7.5

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

func (*ArtifactManagerMockActivateObjectExpectation) Return added in v0.7.5

type ArtifactManagerMockActivateObjectInput added in v0.7.5

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

type ArtifactManagerMockActivateObjectResult added in v0.7.5

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

type ArtifactManagerMockActivatePrototypeExpectation added in v0.7.5

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

func (*ArtifactManagerMockActivatePrototypeExpectation) Return added in v0.7.5

type ArtifactManagerMockActivatePrototypeInput added in v0.7.5

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

type ArtifactManagerMockActivatePrototypeResult added in v0.7.5

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

type ArtifactManagerMockDeactivateObjectExpectation added in v0.7.5

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

func (*ArtifactManagerMockDeactivateObjectExpectation) Return added in v0.7.5

type ArtifactManagerMockDeactivateObjectInput added in v0.7.5

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

type ArtifactManagerMockDeactivateObjectResult added in v0.7.5

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

type ArtifactManagerMockDeclareTypeExpectation added in v0.7.5

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

func (*ArtifactManagerMockDeclareTypeExpectation) Return added in v0.7.5

type ArtifactManagerMockDeclareTypeInput added in v0.7.5

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

type ArtifactManagerMockDeclareTypeResult added in v0.7.5

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

type ArtifactManagerMockDeployCodeExpectation added in v0.7.5

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

func (*ArtifactManagerMockDeployCodeExpectation) Return added in v0.7.5

type ArtifactManagerMockDeployCodeInput added in v0.7.5

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

type ArtifactManagerMockDeployCodeResult added in v0.7.5

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

type ArtifactManagerMockGenesisRefExpectation added in v0.7.5

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

func (*ArtifactManagerMockGenesisRefExpectation) Return added in v0.7.5

type ArtifactManagerMockGenesisRefResult added in v0.7.5

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

type ArtifactManagerMockGetChildrenExpectation added in v0.7.5

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

func (*ArtifactManagerMockGetChildrenExpectation) Return added in v0.7.5

type ArtifactManagerMockGetChildrenInput added in v0.7.5

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

type ArtifactManagerMockGetChildrenResult added in v0.7.5

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

type ArtifactManagerMockGetCodeExpectation added in v0.7.5

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

func (*ArtifactManagerMockGetCodeExpectation) Return added in v0.7.5

type ArtifactManagerMockGetCodeInput added in v0.7.5

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

type ArtifactManagerMockGetCodeResult added in v0.7.5

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

type ArtifactManagerMockGetDelegateExpectation added in v0.7.5

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

func (*ArtifactManagerMockGetDelegateExpectation) Return added in v0.7.5

type ArtifactManagerMockGetDelegateInput added in v0.7.5

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

type ArtifactManagerMockGetDelegateResult added in v0.7.5

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

type ArtifactManagerMockGetObjectExpectation added in v0.7.5

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

func (*ArtifactManagerMockGetObjectExpectation) Return added in v0.7.5

type ArtifactManagerMockGetObjectInput added in v0.7.5

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

type ArtifactManagerMockGetObjectResult added in v0.7.5

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

type ArtifactManagerMockGetPendingRequestExpectation added in v0.8.0

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

func (*ArtifactManagerMockGetPendingRequestExpectation) Return added in v0.8.0

type ArtifactManagerMockGetPendingRequestInput added in v0.8.0

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

type ArtifactManagerMockGetPendingRequestResult added in v0.8.0

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

type ArtifactManagerMockHasPendingRequestsExpectation added in v0.7.5

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

func (*ArtifactManagerMockHasPendingRequestsExpectation) Return added in v0.7.5

type ArtifactManagerMockHasPendingRequestsInput added in v0.7.5

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

type ArtifactManagerMockHasPendingRequestsResult added in v0.7.5

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

type ArtifactManagerMockRegisterRequestExpectation added in v0.7.5

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

func (*ArtifactManagerMockRegisterRequestExpectation) Return added in v0.7.5

type ArtifactManagerMockRegisterRequestInput added in v0.7.5

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

type ArtifactManagerMockRegisterRequestResult added in v0.7.5

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

type ArtifactManagerMockRegisterResultExpectation added in v0.7.5

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

func (*ArtifactManagerMockRegisterResultExpectation) Return added in v0.7.5

type ArtifactManagerMockRegisterResultInput added in v0.7.5

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

type ArtifactManagerMockRegisterResultResult added in v0.7.5

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

type ArtifactManagerMockRegisterValidationExpectation added in v0.7.5

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

func (*ArtifactManagerMockRegisterValidationExpectation) Return added in v0.7.5

type ArtifactManagerMockRegisterValidationInput added in v0.7.5

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

type ArtifactManagerMockRegisterValidationResult added in v0.7.5

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

type ArtifactManagerMockStateExpectation added in v0.7.5

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

func (*ArtifactManagerMockStateExpectation) Return added in v0.7.5

func (e *ArtifactManagerMockStateExpectation) Return(r []byte, r1 error)

type ArtifactManagerMockStateResult added in v0.7.5

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

type ArtifactManagerMockUpdateObjectExpectation added in v0.7.5

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

func (*ArtifactManagerMockUpdateObjectExpectation) Return added in v0.7.5

type ArtifactManagerMockUpdateObjectInput added in v0.7.5

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

type ArtifactManagerMockUpdateObjectResult added in v0.7.5

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

type ArtifactManagerMockUpdatePrototypeExpectation added in v0.7.5

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

func (*ArtifactManagerMockUpdatePrototypeExpectation) Return added in v0.7.5

type ArtifactManagerMockUpdatePrototypeInput added in v0.7.5

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

type ArtifactManagerMockUpdatePrototypeResult added in v0.7.5

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

type CertificateManagerMock added in v0.7.5

type CertificateManagerMock struct {
	GetCertificateFunc       func() (r core.Certificate)
	GetCertificateCounter    uint64
	GetCertificatePreCounter uint64
	GetCertificateMock       mCertificateManagerMockGetCertificate

	NewUnsignedCertificateFunc       func(p string, p1 string, p2 string) (r core.Certificate, r1 error)
	NewUnsignedCertificateCounter    uint64
	NewUnsignedCertificatePreCounter uint64
	NewUnsignedCertificateMock       mCertificateManagerMockNewUnsignedCertificate

	VerifyAuthorizationCertificateFunc       func(p core.AuthorizationCertificate) (r bool, r1 error)
	VerifyAuthorizationCertificateCounter    uint64
	VerifyAuthorizationCertificatePreCounter uint64
	VerifyAuthorizationCertificateMock       mCertificateManagerMockVerifyAuthorizationCertificate
	// contains filtered or unexported fields
}

CertificateManagerMock implements github.com/insolar/insolar/core.CertificateManager

func NewCertificateManagerMock added in v0.7.5

func NewCertificateManagerMock(t minimock.Tester) *CertificateManagerMock

NewCertificateManagerMock returns a mock for github.com/insolar/insolar/core.CertificateManager

func (*CertificateManagerMock) AllMocksCalled added in v0.7.5

func (m *CertificateManagerMock) AllMocksCalled() bool

AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())

func (*CertificateManagerMock) CheckMocksCalled added in v0.7.5

func (m *CertificateManagerMock) CheckMocksCalled()

CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*CertificateManagerMock) Finish added in v0.7.5

func (m *CertificateManagerMock) Finish()

Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller

func (*CertificateManagerMock) GetCertificate added in v0.7.5

func (m *CertificateManagerMock) GetCertificate() (r core.Certificate)

GetCertificate implements github.com/insolar/insolar/core.CertificateManager interface

func (*CertificateManagerMock) GetCertificateFinished added in v0.7.5

func (m *CertificateManagerMock) GetCertificateFinished() bool

GetCertificateFinished returns true if mock invocations count is ok

func (*CertificateManagerMock) GetCertificateMinimockCounter added in v0.7.5

func (m *CertificateManagerMock) GetCertificateMinimockCounter() uint64

GetCertificateMinimockCounter returns a count of CertificateManagerMock.GetCertificateFunc invocations

func (*CertificateManagerMock) GetCertificateMinimockPreCounter added in v0.7.5

func (m *CertificateManagerMock) GetCertificateMinimockPreCounter() uint64

GetCertificateMinimockPreCounter returns the value of CertificateManagerMock.GetCertificate invocations

func (*CertificateManagerMock) MinimockFinish added in v0.7.5

func (m *CertificateManagerMock) MinimockFinish()

MinimockFinish checks that all mocked methods of the interface have been called at least once

func (*CertificateManagerMock) MinimockWait added in v0.7.5

func (m *CertificateManagerMock) MinimockWait(timeout time.Duration)

MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller

func (*CertificateManagerMock) NewUnsignedCertificate added in v0.7.5

func (m *CertificateManagerMock) NewUnsignedCertificate(p string, p1 string, p2 string) (r core.Certificate, r1 error)

NewUnsignedCertificate implements github.com/insolar/insolar/core.CertificateManager interface

func (*CertificateManagerMock) NewUnsignedCertificateFinished added in v0.7.5

func (m *CertificateManagerMock) NewUnsignedCertificateFinished() bool

NewUnsignedCertificateFinished returns true if mock invocations count is ok

func (*CertificateManagerMock) NewUnsignedCertificateMinimockCounter added in v0.7.5

func (m *CertificateManagerMock) NewUnsignedCertificateMinimockCounter() uint64

NewUnsignedCertificateMinimockCounter returns a count of CertificateManagerMock.NewUnsignedCertificateFunc invocations

func (*CertificateManagerMock) NewUnsignedCertificateMinimockPreCounter added in v0.7.5

func (m *CertificateManagerMock) NewUnsignedCertificateMinimockPreCounter() uint64

NewUnsignedCertificateMinimockPreCounter returns the value of CertificateManagerMock.NewUnsignedCertificate invocations

func (*CertificateManagerMock) ValidateCallCounters added in v0.7.5

func (m *CertificateManagerMock) ValidateCallCounters()

ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*CertificateManagerMock) VerifyAuthorizationCertificate added in v0.7.5

func (m *CertificateManagerMock) VerifyAuthorizationCertificate(p core.AuthorizationCertificate) (r bool, r1 error)

VerifyAuthorizationCertificate implements github.com/insolar/insolar/core.CertificateManager interface

func (*CertificateManagerMock) VerifyAuthorizationCertificateFinished added in v0.7.5

func (m *CertificateManagerMock) VerifyAuthorizationCertificateFinished() bool

VerifyAuthorizationCertificateFinished returns true if mock invocations count is ok

func (*CertificateManagerMock) VerifyAuthorizationCertificateMinimockCounter added in v0.7.5

func (m *CertificateManagerMock) VerifyAuthorizationCertificateMinimockCounter() uint64

VerifyAuthorizationCertificateMinimockCounter returns a count of CertificateManagerMock.VerifyAuthorizationCertificateFunc invocations

func (*CertificateManagerMock) VerifyAuthorizationCertificateMinimockPreCounter added in v0.7.5

func (m *CertificateManagerMock) VerifyAuthorizationCertificateMinimockPreCounter() uint64

VerifyAuthorizationCertificateMinimockPreCounter returns the value of CertificateManagerMock.VerifyAuthorizationCertificate invocations

func (*CertificateManagerMock) Wait added in v0.7.5

func (m *CertificateManagerMock) Wait(timeout time.Duration)

Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller

type CertificateManagerMockGetCertificateExpectation added in v0.7.5

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

func (*CertificateManagerMockGetCertificateExpectation) Return added in v0.7.5

type CertificateManagerMockGetCertificateResult added in v0.7.5

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

type CertificateManagerMockNewUnsignedCertificateExpectation added in v0.7.5

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

func (*CertificateManagerMockNewUnsignedCertificateExpectation) Return added in v0.7.5

type CertificateManagerMockNewUnsignedCertificateInput added in v0.7.5

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

type CertificateManagerMockNewUnsignedCertificateResult added in v0.7.5

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

type CertificateManagerMockVerifyAuthorizationCertificateExpectation added in v0.7.5

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

func (*CertificateManagerMockVerifyAuthorizationCertificateExpectation) Return added in v0.7.5

type CertificateManagerMockVerifyAuthorizationCertificateInput added in v0.7.5

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

type CertificateManagerMockVerifyAuthorizationCertificateResult added in v0.7.5

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

type CertificateMock added in v0.6.3

type CertificateMock struct {
	GetDiscoveryNodesFunc       func() (r []core.DiscoveryNode)
	GetDiscoveryNodesCounter    uint64
	GetDiscoveryNodesPreCounter uint64
	GetDiscoveryNodesMock       mCertificateMockGetDiscoveryNodes

	GetDiscoverySignsFunc       func() (r map[core.RecordRef][]byte)
	GetDiscoverySignsCounter    uint64
	GetDiscoverySignsPreCounter uint64
	GetDiscoverySignsMock       mCertificateMockGetDiscoverySigns

	GetNodeRefFunc       func() (r *core.RecordRef)
	GetNodeRefCounter    uint64
	GetNodeRefPreCounter uint64
	GetNodeRefMock       mCertificateMockGetNodeRef

	GetPublicKeyFunc       func() (r crypto.PublicKey)
	GetPublicKeyCounter    uint64
	GetPublicKeyPreCounter uint64
	GetPublicKeyMock       mCertificateMockGetPublicKey

	GetRoleFunc       func() (r core.StaticRole)
	GetRoleCounter    uint64
	GetRolePreCounter uint64
	GetRoleMock       mCertificateMockGetRole

	GetRootDomainReferenceFunc       func() (r *core.RecordRef)
	GetRootDomainReferenceCounter    uint64
	GetRootDomainReferencePreCounter uint64
	GetRootDomainReferenceMock       mCertificateMockGetRootDomainReference

	SerializeNodePartFunc       func() (r []byte)
	SerializeNodePartCounter    uint64
	SerializeNodePartPreCounter uint64
	SerializeNodePartMock       mCertificateMockSerializeNodePart
	// contains filtered or unexported fields
}

CertificateMock implements github.com/insolar/insolar/core.Certificate

func NewCertificateMock added in v0.6.3

func NewCertificateMock(t minimock.Tester) *CertificateMock

NewCertificateMock returns a mock for github.com/insolar/insolar/core.Certificate

func (*CertificateMock) AllMocksCalled added in v0.6.3

func (m *CertificateMock) AllMocksCalled() bool

AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())

func (*CertificateMock) CheckMocksCalled added in v0.6.3

func (m *CertificateMock) CheckMocksCalled()

CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*CertificateMock) Finish added in v0.6.3

func (m *CertificateMock) Finish()

Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller

func (*CertificateMock) GetDiscoveryNodes added in v0.6.3

func (m *CertificateMock) GetDiscoveryNodes() (r []core.DiscoveryNode)

GetDiscoveryNodes implements github.com/insolar/insolar/core.Certificate interface

func (*CertificateMock) GetDiscoveryNodesFinished added in v0.7.5

func (m *CertificateMock) GetDiscoveryNodesFinished() bool

GetDiscoveryNodesFinished returns true if mock invocations count is ok

func (*CertificateMock) GetDiscoveryNodesMinimockCounter added in v0.6.3

func (m *CertificateMock) GetDiscoveryNodesMinimockCounter() uint64

GetDiscoveryNodesMinimockCounter returns a count of CertificateMock.GetDiscoveryNodesFunc invocations

func (*CertificateMock) GetDiscoveryNodesMinimockPreCounter added in v0.6.3

func (m *CertificateMock) GetDiscoveryNodesMinimockPreCounter() uint64

GetDiscoveryNodesMinimockPreCounter returns the value of CertificateMock.GetDiscoveryNodes invocations

func (*CertificateMock) GetDiscoverySigns added in v0.7.5

func (m *CertificateMock) GetDiscoverySigns() (r map[core.RecordRef][]byte)

GetDiscoverySigns implements github.com/insolar/insolar/core.Certificate interface

func (*CertificateMock) GetDiscoverySignsFinished added in v0.7.5

func (m *CertificateMock) GetDiscoverySignsFinished() bool

GetDiscoverySignsFinished returns true if mock invocations count is ok

func (*CertificateMock) GetDiscoverySignsMinimockCounter added in v0.7.5

func (m *CertificateMock) GetDiscoverySignsMinimockCounter() uint64

GetDiscoverySignsMinimockCounter returns a count of CertificateMock.GetDiscoverySignsFunc invocations

func (*CertificateMock) GetDiscoverySignsMinimockPreCounter added in v0.7.5

func (m *CertificateMock) GetDiscoverySignsMinimockPreCounter() uint64

GetDiscoverySignsMinimockPreCounter returns the value of CertificateMock.GetDiscoverySigns invocations

func (*CertificateMock) GetNodeRef added in v0.6.3

func (m *CertificateMock) GetNodeRef() (r *core.RecordRef)

GetNodeRef implements github.com/insolar/insolar/core.Certificate interface

func (*CertificateMock) GetNodeRefFinished added in v0.7.5

func (m *CertificateMock) GetNodeRefFinished() bool

GetNodeRefFinished returns true if mock invocations count is ok

func (*CertificateMock) GetNodeRefMinimockCounter added in v0.6.3

func (m *CertificateMock) GetNodeRefMinimockCounter() uint64

GetNodeRefMinimockCounter returns a count of CertificateMock.GetNodeRefFunc invocations

func (*CertificateMock) GetNodeRefMinimockPreCounter added in v0.6.3

func (m *CertificateMock) GetNodeRefMinimockPreCounter() uint64

GetNodeRefMinimockPreCounter returns the value of CertificateMock.GetNodeRef invocations

func (*CertificateMock) GetPublicKey added in v0.6.3

func (m *CertificateMock) GetPublicKey() (r crypto.PublicKey)

GetPublicKey implements github.com/insolar/insolar/core.Certificate interface

func (*CertificateMock) GetPublicKeyFinished added in v0.7.5

func (m *CertificateMock) GetPublicKeyFinished() bool

GetPublicKeyFinished returns true if mock invocations count is ok

func (*CertificateMock) GetPublicKeyMinimockCounter added in v0.6.3

func (m *CertificateMock) GetPublicKeyMinimockCounter() uint64

GetPublicKeyMinimockCounter returns a count of CertificateMock.GetPublicKeyFunc invocations

func (*CertificateMock) GetPublicKeyMinimockPreCounter added in v0.6.3

func (m *CertificateMock) GetPublicKeyMinimockPreCounter() uint64

GetPublicKeyMinimockPreCounter returns the value of CertificateMock.GetPublicKey invocations

func (*CertificateMock) GetRole added in v0.6.3

func (m *CertificateMock) GetRole() (r core.StaticRole)

GetRole implements github.com/insolar/insolar/core.Certificate interface

func (*CertificateMock) GetRoleFinished added in v0.7.5

func (m *CertificateMock) GetRoleFinished() bool

GetRoleFinished returns true if mock invocations count is ok

func (*CertificateMock) GetRoleMinimockCounter added in v0.6.3

func (m *CertificateMock) GetRoleMinimockCounter() uint64

GetRoleMinimockCounter returns a count of CertificateMock.GetRoleFunc invocations

func (*CertificateMock) GetRoleMinimockPreCounter added in v0.6.3

func (m *CertificateMock) GetRoleMinimockPreCounter() uint64

GetRoleMinimockPreCounter returns the value of CertificateMock.GetRole invocations

func (*CertificateMock) GetRootDomainReference added in v0.6.3

func (m *CertificateMock) GetRootDomainReference() (r *core.RecordRef)

GetRootDomainReference implements github.com/insolar/insolar/core.Certificate interface

func (*CertificateMock) GetRootDomainReferenceFinished added in v0.7.5

func (m *CertificateMock) GetRootDomainReferenceFinished() bool

GetRootDomainReferenceFinished returns true if mock invocations count is ok

func (*CertificateMock) GetRootDomainReferenceMinimockCounter added in v0.6.3

func (m *CertificateMock) GetRootDomainReferenceMinimockCounter() uint64

GetRootDomainReferenceMinimockCounter returns a count of CertificateMock.GetRootDomainReferenceFunc invocations

func (*CertificateMock) GetRootDomainReferenceMinimockPreCounter added in v0.6.3

func (m *CertificateMock) GetRootDomainReferenceMinimockPreCounter() uint64

GetRootDomainReferenceMinimockPreCounter returns the value of CertificateMock.GetRootDomainReference invocations

func (*CertificateMock) MinimockFinish added in v0.6.3

func (m *CertificateMock) MinimockFinish()

MinimockFinish checks that all mocked methods of the interface have been called at least once

func (*CertificateMock) MinimockWait added in v0.6.3

func (m *CertificateMock) MinimockWait(timeout time.Duration)

MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller

func (*CertificateMock) SerializeNodePart added in v0.7.5

func (m *CertificateMock) SerializeNodePart() (r []byte)

SerializeNodePart implements github.com/insolar/insolar/core.Certificate interface

func (*CertificateMock) SerializeNodePartFinished added in v0.7.5

func (m *CertificateMock) SerializeNodePartFinished() bool

SerializeNodePartFinished returns true if mock invocations count is ok

func (*CertificateMock) SerializeNodePartMinimockCounter added in v0.7.5

func (m *CertificateMock) SerializeNodePartMinimockCounter() uint64

SerializeNodePartMinimockCounter returns a count of CertificateMock.SerializeNodePartFunc invocations

func (*CertificateMock) SerializeNodePartMinimockPreCounter added in v0.7.5

func (m *CertificateMock) SerializeNodePartMinimockPreCounter() uint64

SerializeNodePartMinimockPreCounter returns the value of CertificateMock.SerializeNodePart invocations

func (*CertificateMock) ValidateCallCounters added in v0.6.3

func (m *CertificateMock) ValidateCallCounters()

ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*CertificateMock) Wait added in v0.6.3

func (m *CertificateMock) Wait(timeout time.Duration)

Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller

type CertificateMockGetDiscoveryNodesExpectation added in v0.7.5

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

func (*CertificateMockGetDiscoveryNodesExpectation) Return added in v0.7.5

type CertificateMockGetDiscoveryNodesResult added in v0.7.5

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

type CertificateMockGetDiscoverySignsExpectation added in v0.7.5

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

func (*CertificateMockGetDiscoverySignsExpectation) Return added in v0.7.5

type CertificateMockGetDiscoverySignsResult added in v0.7.5

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

type CertificateMockGetNodeRefExpectation added in v0.7.5

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

func (*CertificateMockGetNodeRefExpectation) Return added in v0.7.5

type CertificateMockGetNodeRefResult added in v0.7.5

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

type CertificateMockGetPublicKeyExpectation added in v0.7.5

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

func (*CertificateMockGetPublicKeyExpectation) Return added in v0.7.5

type CertificateMockGetPublicKeyResult added in v0.7.5

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

type CertificateMockGetRoleExpectation added in v0.7.5

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

func (*CertificateMockGetRoleExpectation) Return added in v0.7.5

type CertificateMockGetRoleResult added in v0.7.5

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

type CertificateMockGetRootDomainReferenceExpectation added in v0.7.5

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

func (*CertificateMockGetRootDomainReferenceExpectation) Return added in v0.7.5

type CertificateMockGetRootDomainReferenceResult added in v0.7.5

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

type CertificateMockSerializeNodePartExpectation added in v0.7.5

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

func (*CertificateMockSerializeNodePartExpectation) Return added in v0.7.5

type CertificateMockSerializeNodePartResult added in v0.7.5

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

type CodeDescriptorMock added in v0.8.0

type CodeDescriptorMock struct {
	CodeFunc       func() (r []byte, r1 error)
	CodeCounter    uint64
	CodePreCounter uint64
	CodeMock       mCodeDescriptorMockCode

	MachineTypeFunc       func() (r core.MachineType)
	MachineTypeCounter    uint64
	MachineTypePreCounter uint64
	MachineTypeMock       mCodeDescriptorMockMachineType

	RefFunc       func() (r *core.RecordRef)
	RefCounter    uint64
	RefPreCounter uint64
	RefMock       mCodeDescriptorMockRef
	// contains filtered or unexported fields
}

CodeDescriptorMock implements github.com/insolar/insolar/core.CodeDescriptor

func NewCodeDescriptorMock added in v0.8.0

func NewCodeDescriptorMock(t minimock.Tester) *CodeDescriptorMock

NewCodeDescriptorMock returns a mock for github.com/insolar/insolar/core.CodeDescriptor

func (*CodeDescriptorMock) AllMocksCalled added in v0.8.0

func (m *CodeDescriptorMock) AllMocksCalled() bool

AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())

func (*CodeDescriptorMock) CheckMocksCalled added in v0.8.0

func (m *CodeDescriptorMock) CheckMocksCalled()

CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*CodeDescriptorMock) Code added in v0.8.0

func (m *CodeDescriptorMock) Code() (r []byte, r1 error)

Code implements github.com/insolar/insolar/core.CodeDescriptor interface

func (*CodeDescriptorMock) CodeFinished added in v0.8.0

func (m *CodeDescriptorMock) CodeFinished() bool

CodeFinished returns true if mock invocations count is ok

func (*CodeDescriptorMock) CodeMinimockCounter added in v0.8.0

func (m *CodeDescriptorMock) CodeMinimockCounter() uint64

CodeMinimockCounter returns a count of CodeDescriptorMock.CodeFunc invocations

func (*CodeDescriptorMock) CodeMinimockPreCounter added in v0.8.0

func (m *CodeDescriptorMock) CodeMinimockPreCounter() uint64

CodeMinimockPreCounter returns the value of CodeDescriptorMock.Code invocations

func (*CodeDescriptorMock) Finish added in v0.8.0

func (m *CodeDescriptorMock) Finish()

Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller

func (*CodeDescriptorMock) MachineType added in v0.8.0

func (m *CodeDescriptorMock) MachineType() (r core.MachineType)

MachineType implements github.com/insolar/insolar/core.CodeDescriptor interface

func (*CodeDescriptorMock) MachineTypeFinished added in v0.8.0

func (m *CodeDescriptorMock) MachineTypeFinished() bool

MachineTypeFinished returns true if mock invocations count is ok

func (*CodeDescriptorMock) MachineTypeMinimockCounter added in v0.8.0

func (m *CodeDescriptorMock) MachineTypeMinimockCounter() uint64

MachineTypeMinimockCounter returns a count of CodeDescriptorMock.MachineTypeFunc invocations

func (*CodeDescriptorMock) MachineTypeMinimockPreCounter added in v0.8.0

func (m *CodeDescriptorMock) MachineTypeMinimockPreCounter() uint64

MachineTypeMinimockPreCounter returns the value of CodeDescriptorMock.MachineType invocations

func (*CodeDescriptorMock) MinimockFinish added in v0.8.0

func (m *CodeDescriptorMock) MinimockFinish()

MinimockFinish checks that all mocked methods of the interface have been called at least once

func (*CodeDescriptorMock) MinimockWait added in v0.8.0

func (m *CodeDescriptorMock) MinimockWait(timeout time.Duration)

MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller

func (*CodeDescriptorMock) Ref added in v0.8.0

func (m *CodeDescriptorMock) Ref() (r *core.RecordRef)

Ref implements github.com/insolar/insolar/core.CodeDescriptor interface

func (*CodeDescriptorMock) RefFinished added in v0.8.0

func (m *CodeDescriptorMock) RefFinished() bool

RefFinished returns true if mock invocations count is ok

func (*CodeDescriptorMock) RefMinimockCounter added in v0.8.0

func (m *CodeDescriptorMock) RefMinimockCounter() uint64

RefMinimockCounter returns a count of CodeDescriptorMock.RefFunc invocations

func (*CodeDescriptorMock) RefMinimockPreCounter added in v0.8.0

func (m *CodeDescriptorMock) RefMinimockPreCounter() uint64

RefMinimockPreCounter returns the value of CodeDescriptorMock.Ref invocations

func (*CodeDescriptorMock) ValidateCallCounters added in v0.8.0

func (m *CodeDescriptorMock) ValidateCallCounters()

ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*CodeDescriptorMock) Wait added in v0.8.0

func (m *CodeDescriptorMock) Wait(timeout time.Duration)

Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller

type CodeDescriptorMockCodeExpectation added in v0.8.0

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

func (*CodeDescriptorMockCodeExpectation) Return added in v0.8.0

func (e *CodeDescriptorMockCodeExpectation) Return(r []byte, r1 error)

type CodeDescriptorMockCodeResult added in v0.8.0

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

type CodeDescriptorMockMachineTypeExpectation added in v0.8.0

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

func (*CodeDescriptorMockMachineTypeExpectation) Return added in v0.8.0

type CodeDescriptorMockMachineTypeResult added in v0.8.0

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

type CodeDescriptorMockRefExpectation added in v0.8.0

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

func (*CodeDescriptorMockRefExpectation) Return added in v0.8.0

type CodeDescriptorMockRefResult added in v0.8.0

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

type ContractRequesterMock added in v0.6.3

type ContractRequesterMock struct {
	CallConstructorFunc       func(p context.Context, p1 core.Message, p2 bool, p3 *core.RecordRef, p4 *core.RecordRef, p5 string, p6 core.Arguments, p7 int) (r *core.RecordRef, r1 error)
	CallConstructorCounter    uint64
	CallConstructorPreCounter uint64
	CallConstructorMock       mContractRequesterMockCallConstructor

	CallMethodFunc       func(p context.Context, p1 core.Message, p2 bool, p3 *core.RecordRef, p4 string, p5 core.Arguments, p6 *core.RecordRef) (r core.Reply, r1 error)
	CallMethodCounter    uint64
	CallMethodPreCounter uint64
	CallMethodMock       mContractRequesterMockCallMethod

	SendRequestFunc       func(p context.Context, p1 *core.RecordRef, p2 string, p3 []interface{}) (r core.Reply, r1 error)
	SendRequestCounter    uint64
	SendRequestPreCounter uint64
	SendRequestMock       mContractRequesterMockSendRequest
	// contains filtered or unexported fields
}

ContractRequesterMock implements github.com/insolar/insolar/core.ContractRequester

func NewContractRequesterMock added in v0.6.3

func NewContractRequesterMock(t minimock.Tester) *ContractRequesterMock

NewContractRequesterMock returns a mock for github.com/insolar/insolar/core.ContractRequester

func (*ContractRequesterMock) AllMocksCalled added in v0.6.3

func (m *ContractRequesterMock) AllMocksCalled() bool

AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())

func (*ContractRequesterMock) CallConstructor added in v0.7.5

func (m *ContractRequesterMock) CallConstructor(p context.Context, p1 core.Message, p2 bool, p3 *core.RecordRef, p4 *core.RecordRef, p5 string, p6 core.Arguments, p7 int) (r *core.RecordRef, r1 error)

CallConstructor implements github.com/insolar/insolar/core.ContractRequester interface

func (*ContractRequesterMock) CallConstructorFinished added in v0.7.5

func (m *ContractRequesterMock) CallConstructorFinished() bool

CallConstructorFinished returns true if mock invocations count is ok

func (*ContractRequesterMock) CallConstructorMinimockCounter added in v0.7.5

func (m *ContractRequesterMock) CallConstructorMinimockCounter() uint64

CallConstructorMinimockCounter returns a count of ContractRequesterMock.CallConstructorFunc invocations

func (*ContractRequesterMock) CallConstructorMinimockPreCounter added in v0.7.5

func (m *ContractRequesterMock) CallConstructorMinimockPreCounter() uint64

CallConstructorMinimockPreCounter returns the value of ContractRequesterMock.CallConstructor invocations

func (*ContractRequesterMock) CallMethod added in v0.7.5

func (m *ContractRequesterMock) CallMethod(p context.Context, p1 core.Message, p2 bool, p3 *core.RecordRef, p4 string, p5 core.Arguments, p6 *core.RecordRef) (r core.Reply, r1 error)

CallMethod implements github.com/insolar/insolar/core.ContractRequester interface

func (*ContractRequesterMock) CallMethodFinished added in v0.7.5

func (m *ContractRequesterMock) CallMethodFinished() bool

CallMethodFinished returns true if mock invocations count is ok

func (*ContractRequesterMock) CallMethodMinimockCounter added in v0.7.5

func (m *ContractRequesterMock) CallMethodMinimockCounter() uint64

CallMethodMinimockCounter returns a count of ContractRequesterMock.CallMethodFunc invocations

func (*ContractRequesterMock) CallMethodMinimockPreCounter added in v0.7.5

func (m *ContractRequesterMock) CallMethodMinimockPreCounter() uint64

CallMethodMinimockPreCounter returns the value of ContractRequesterMock.CallMethod invocations

func (*ContractRequesterMock) CheckMocksCalled added in v0.6.3

func (m *ContractRequesterMock) CheckMocksCalled()

CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*ContractRequesterMock) Finish added in v0.6.3

func (m *ContractRequesterMock) Finish()

Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller

func (*ContractRequesterMock) MinimockFinish added in v0.6.3

func (m *ContractRequesterMock) MinimockFinish()

MinimockFinish checks that all mocked methods of the interface have been called at least once

func (*ContractRequesterMock) MinimockWait added in v0.6.3

func (m *ContractRequesterMock) MinimockWait(timeout time.Duration)

MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller

func (*ContractRequesterMock) SendRequest added in v0.6.3

func (m *ContractRequesterMock) SendRequest(p context.Context, p1 *core.RecordRef, p2 string, p3 []interface{}) (r core.Reply, r1 error)

SendRequest implements github.com/insolar/insolar/core.ContractRequester interface

func (*ContractRequesterMock) SendRequestFinished added in v0.7.5

func (m *ContractRequesterMock) SendRequestFinished() bool

SendRequestFinished returns true if mock invocations count is ok

func (*ContractRequesterMock) SendRequestMinimockCounter added in v0.6.3

func (m *ContractRequesterMock) SendRequestMinimockCounter() uint64

SendRequestMinimockCounter returns a count of ContractRequesterMock.SendRequestFunc invocations

func (*ContractRequesterMock) SendRequestMinimockPreCounter added in v0.6.3

func (m *ContractRequesterMock) SendRequestMinimockPreCounter() uint64

SendRequestMinimockPreCounter returns the value of ContractRequesterMock.SendRequest invocations

func (*ContractRequesterMock) ValidateCallCounters added in v0.6.3

func (m *ContractRequesterMock) ValidateCallCounters()

ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*ContractRequesterMock) Wait added in v0.6.3

func (m *ContractRequesterMock) Wait(timeout time.Duration)

Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller

type ContractRequesterMockCallConstructorExpectation added in v0.7.5

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

func (*ContractRequesterMockCallConstructorExpectation) Return added in v0.7.5

type ContractRequesterMockCallConstructorInput added in v0.7.5

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

type ContractRequesterMockCallConstructorResult added in v0.7.5

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

type ContractRequesterMockCallMethodExpectation added in v0.7.5

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

func (*ContractRequesterMockCallMethodExpectation) Return added in v0.7.5

type ContractRequesterMockCallMethodInput added in v0.7.5

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

type ContractRequesterMockCallMethodResult added in v0.7.5

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

type ContractRequesterMockSendRequestExpectation added in v0.7.5

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

func (*ContractRequesterMockSendRequestExpectation) Return added in v0.7.5

type ContractRequesterMockSendRequestInput added in v0.7.5

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

type ContractRequesterMockSendRequestResult added in v0.7.5

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

type CryptographyServiceMock added in v0.6.3

type CryptographyServiceMock struct {
	GetPublicKeyFunc       func() (r crypto.PublicKey, r1 error)
	GetPublicKeyCounter    uint64
	GetPublicKeyPreCounter uint64
	GetPublicKeyMock       mCryptographyServiceMockGetPublicKey

	SignFunc       func(p []byte) (r *core.Signature, r1 error)
	SignCounter    uint64
	SignPreCounter uint64
	SignMock       mCryptographyServiceMockSign

	VerifyFunc       func(p crypto.PublicKey, p1 core.Signature, p2 []byte) (r bool)
	VerifyCounter    uint64
	VerifyPreCounter uint64
	VerifyMock       mCryptographyServiceMockVerify
	// contains filtered or unexported fields
}

CryptographyServiceMock implements github.com/insolar/insolar/core.CryptographyService

func NewCryptographyServiceMock added in v0.6.3

func NewCryptographyServiceMock(t minimock.Tester) *CryptographyServiceMock

NewCryptographyServiceMock returns a mock for github.com/insolar/insolar/core.CryptographyService

func (*CryptographyServiceMock) AllMocksCalled added in v0.6.3

func (m *CryptographyServiceMock) AllMocksCalled() bool

AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())

func (*CryptographyServiceMock) CheckMocksCalled added in v0.6.3

func (m *CryptographyServiceMock) CheckMocksCalled()

CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*CryptographyServiceMock) Finish added in v0.6.3

func (m *CryptographyServiceMock) Finish()

Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller

func (*CryptographyServiceMock) GetPublicKey added in v0.6.3

func (m *CryptographyServiceMock) GetPublicKey() (r crypto.PublicKey, r1 error)

GetPublicKey implements github.com/insolar/insolar/core.CryptographyService interface

func (*CryptographyServiceMock) GetPublicKeyFinished added in v0.7.5

func (m *CryptographyServiceMock) GetPublicKeyFinished() bool

GetPublicKeyFinished returns true if mock invocations count is ok

func (*CryptographyServiceMock) GetPublicKeyMinimockCounter added in v0.6.3

func (m *CryptographyServiceMock) GetPublicKeyMinimockCounter() uint64

GetPublicKeyMinimockCounter returns a count of CryptographyServiceMock.GetPublicKeyFunc invocations

func (*CryptographyServiceMock) GetPublicKeyMinimockPreCounter added in v0.6.3

func (m *CryptographyServiceMock) GetPublicKeyMinimockPreCounter() uint64

GetPublicKeyMinimockPreCounter returns the value of CryptographyServiceMock.GetPublicKey invocations

func (*CryptographyServiceMock) MinimockFinish added in v0.6.3

func (m *CryptographyServiceMock) MinimockFinish()

MinimockFinish checks that all mocked methods of the interface have been called at least once

func (*CryptographyServiceMock) MinimockWait added in v0.6.3

func (m *CryptographyServiceMock) MinimockWait(timeout time.Duration)

MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller

func (*CryptographyServiceMock) Sign added in v0.6.3

func (m *CryptographyServiceMock) Sign(p []byte) (r *core.Signature, r1 error)

Sign implements github.com/insolar/insolar/core.CryptographyService interface

func (*CryptographyServiceMock) SignFinished added in v0.7.5

func (m *CryptographyServiceMock) SignFinished() bool

SignFinished returns true if mock invocations count is ok

func (*CryptographyServiceMock) SignMinimockCounter added in v0.6.3

func (m *CryptographyServiceMock) SignMinimockCounter() uint64

SignMinimockCounter returns a count of CryptographyServiceMock.SignFunc invocations

func (*CryptographyServiceMock) SignMinimockPreCounter added in v0.6.3

func (m *CryptographyServiceMock) SignMinimockPreCounter() uint64

SignMinimockPreCounter returns the value of CryptographyServiceMock.Sign invocations

func (*CryptographyServiceMock) ValidateCallCounters added in v0.6.3

func (m *CryptographyServiceMock) ValidateCallCounters()

ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*CryptographyServiceMock) Verify added in v0.6.3

func (m *CryptographyServiceMock) Verify(p crypto.PublicKey, p1 core.Signature, p2 []byte) (r bool)

Verify implements github.com/insolar/insolar/core.CryptographyService interface

func (*CryptographyServiceMock) VerifyFinished added in v0.7.5

func (m *CryptographyServiceMock) VerifyFinished() bool

VerifyFinished returns true if mock invocations count is ok

func (*CryptographyServiceMock) VerifyMinimockCounter added in v0.6.3

func (m *CryptographyServiceMock) VerifyMinimockCounter() uint64

VerifyMinimockCounter returns a count of CryptographyServiceMock.VerifyFunc invocations

func (*CryptographyServiceMock) VerifyMinimockPreCounter added in v0.6.3

func (m *CryptographyServiceMock) VerifyMinimockPreCounter() uint64

VerifyMinimockPreCounter returns the value of CryptographyServiceMock.Verify invocations

func (*CryptographyServiceMock) Wait added in v0.6.3

func (m *CryptographyServiceMock) Wait(timeout time.Duration)

Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller

type CryptographyServiceMockGetPublicKeyExpectation added in v0.7.5

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

func (*CryptographyServiceMockGetPublicKeyExpectation) Return added in v0.7.5

type CryptographyServiceMockGetPublicKeyResult added in v0.7.5

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

type CryptographyServiceMockSignExpectation added in v0.7.5

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

func (*CryptographyServiceMockSignExpectation) Return added in v0.7.5

type CryptographyServiceMockSignInput added in v0.7.5

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

type CryptographyServiceMockSignResult added in v0.7.5

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

type CryptographyServiceMockVerifyExpectation added in v0.7.5

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

func (*CryptographyServiceMockVerifyExpectation) Return added in v0.7.5

type CryptographyServiceMockVerifyInput added in v0.7.5

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

type CryptographyServiceMockVerifyResult added in v0.7.5

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

type DelegationTokenFactoryMock added in v0.6.3

type DelegationTokenFactoryMock struct {
	IssueGetChildrenRedirectFunc       func(p *core.RecordRef, p1 core.Message) (r core.DelegationToken, r1 error)
	IssueGetChildrenRedirectCounter    uint64
	IssueGetChildrenRedirectPreCounter uint64
	IssueGetChildrenRedirectMock       mDelegationTokenFactoryMockIssueGetChildrenRedirect

	IssueGetCodeRedirectFunc       func(p *core.RecordRef, p1 core.Message) (r core.DelegationToken, r1 error)
	IssueGetCodeRedirectCounter    uint64
	IssueGetCodeRedirectPreCounter uint64
	IssueGetCodeRedirectMock       mDelegationTokenFactoryMockIssueGetCodeRedirect

	IssueGetObjectRedirectFunc       func(p *core.RecordRef, p1 core.Message) (r core.DelegationToken, r1 error)
	IssueGetObjectRedirectCounter    uint64
	IssueGetObjectRedirectPreCounter uint64
	IssueGetObjectRedirectMock       mDelegationTokenFactoryMockIssueGetObjectRedirect

	IssuePendingExecutionFunc       func(p core.Message, p1 core.PulseNumber) (r core.DelegationToken, r1 error)
	IssuePendingExecutionCounter    uint64
	IssuePendingExecutionPreCounter uint64
	IssuePendingExecutionMock       mDelegationTokenFactoryMockIssuePendingExecution

	VerifyFunc       func(p core.Parcel) (r bool, r1 error)
	VerifyCounter    uint64
	VerifyPreCounter uint64
	VerifyMock       mDelegationTokenFactoryMockVerify
	// contains filtered or unexported fields
}

DelegationTokenFactoryMock implements github.com/insolar/insolar/core.DelegationTokenFactory

func NewDelegationTokenFactoryMock added in v0.6.3

func NewDelegationTokenFactoryMock(t minimock.Tester) *DelegationTokenFactoryMock

NewDelegationTokenFactoryMock returns a mock for github.com/insolar/insolar/core.DelegationTokenFactory

func (*DelegationTokenFactoryMock) AllMocksCalled added in v0.6.3

func (m *DelegationTokenFactoryMock) AllMocksCalled() bool

AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())

func (*DelegationTokenFactoryMock) CheckMocksCalled added in v0.6.3

func (m *DelegationTokenFactoryMock) CheckMocksCalled()

CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*DelegationTokenFactoryMock) Finish added in v0.6.3

func (m *DelegationTokenFactoryMock) Finish()

Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller

func (*DelegationTokenFactoryMock) IssueGetChildrenRedirect added in v0.6.3

func (m *DelegationTokenFactoryMock) IssueGetChildrenRedirect(p *core.RecordRef, p1 core.Message) (r core.DelegationToken, r1 error)

IssueGetChildrenRedirect implements github.com/insolar/insolar/core.DelegationTokenFactory interface

func (*DelegationTokenFactoryMock) IssueGetChildrenRedirectFinished added in v0.7.5

func (m *DelegationTokenFactoryMock) IssueGetChildrenRedirectFinished() bool

IssueGetChildrenRedirectFinished returns true if mock invocations count is ok

func (*DelegationTokenFactoryMock) IssueGetChildrenRedirectMinimockCounter added in v0.6.3

func (m *DelegationTokenFactoryMock) IssueGetChildrenRedirectMinimockCounter() uint64

IssueGetChildrenRedirectMinimockCounter returns a count of DelegationTokenFactoryMock.IssueGetChildrenRedirectFunc invocations

func (*DelegationTokenFactoryMock) IssueGetChildrenRedirectMinimockPreCounter added in v0.6.3

func (m *DelegationTokenFactoryMock) IssueGetChildrenRedirectMinimockPreCounter() uint64

IssueGetChildrenRedirectMinimockPreCounter returns the value of DelegationTokenFactoryMock.IssueGetChildrenRedirect invocations

func (*DelegationTokenFactoryMock) IssueGetCodeRedirect added in v0.6.3

func (m *DelegationTokenFactoryMock) IssueGetCodeRedirect(p *core.RecordRef, p1 core.Message) (r core.DelegationToken, r1 error)

IssueGetCodeRedirect implements github.com/insolar/insolar/core.DelegationTokenFactory interface

func (*DelegationTokenFactoryMock) IssueGetCodeRedirectFinished added in v0.7.5

func (m *DelegationTokenFactoryMock) IssueGetCodeRedirectFinished() bool

IssueGetCodeRedirectFinished returns true if mock invocations count is ok

func (*DelegationTokenFactoryMock) IssueGetCodeRedirectMinimockCounter added in v0.6.3

func (m *DelegationTokenFactoryMock) IssueGetCodeRedirectMinimockCounter() uint64

IssueGetCodeRedirectMinimockCounter returns a count of DelegationTokenFactoryMock.IssueGetCodeRedirectFunc invocations

func (*DelegationTokenFactoryMock) IssueGetCodeRedirectMinimockPreCounter added in v0.6.3

func (m *DelegationTokenFactoryMock) IssueGetCodeRedirectMinimockPreCounter() uint64

IssueGetCodeRedirectMinimockPreCounter returns the value of DelegationTokenFactoryMock.IssueGetCodeRedirect invocations

func (*DelegationTokenFactoryMock) IssueGetObjectRedirect added in v0.6.3

func (m *DelegationTokenFactoryMock) IssueGetObjectRedirect(p *core.RecordRef, p1 core.Message) (r core.DelegationToken, r1 error)

IssueGetObjectRedirect implements github.com/insolar/insolar/core.DelegationTokenFactory interface

func (*DelegationTokenFactoryMock) IssueGetObjectRedirectFinished added in v0.7.5

func (m *DelegationTokenFactoryMock) IssueGetObjectRedirectFinished() bool

IssueGetObjectRedirectFinished returns true if mock invocations count is ok

func (*DelegationTokenFactoryMock) IssueGetObjectRedirectMinimockCounter added in v0.6.3

func (m *DelegationTokenFactoryMock) IssueGetObjectRedirectMinimockCounter() uint64

IssueGetObjectRedirectMinimockCounter returns a count of DelegationTokenFactoryMock.IssueGetObjectRedirectFunc invocations

func (*DelegationTokenFactoryMock) IssueGetObjectRedirectMinimockPreCounter added in v0.6.3

func (m *DelegationTokenFactoryMock) IssueGetObjectRedirectMinimockPreCounter() uint64

IssueGetObjectRedirectMinimockPreCounter returns the value of DelegationTokenFactoryMock.IssueGetObjectRedirect invocations

func (*DelegationTokenFactoryMock) IssuePendingExecution added in v0.6.3

func (m *DelegationTokenFactoryMock) IssuePendingExecution(p core.Message, p1 core.PulseNumber) (r core.DelegationToken, r1 error)

IssuePendingExecution implements github.com/insolar/insolar/core.DelegationTokenFactory interface

func (*DelegationTokenFactoryMock) IssuePendingExecutionFinished added in v0.7.5

func (m *DelegationTokenFactoryMock) IssuePendingExecutionFinished() bool

IssuePendingExecutionFinished returns true if mock invocations count is ok

func (*DelegationTokenFactoryMock) IssuePendingExecutionMinimockCounter added in v0.6.3

func (m *DelegationTokenFactoryMock) IssuePendingExecutionMinimockCounter() uint64

IssuePendingExecutionMinimockCounter returns a count of DelegationTokenFactoryMock.IssuePendingExecutionFunc invocations

func (*DelegationTokenFactoryMock) IssuePendingExecutionMinimockPreCounter added in v0.6.3

func (m *DelegationTokenFactoryMock) IssuePendingExecutionMinimockPreCounter() uint64

IssuePendingExecutionMinimockPreCounter returns the value of DelegationTokenFactoryMock.IssuePendingExecution invocations

func (*DelegationTokenFactoryMock) MinimockFinish added in v0.6.3

func (m *DelegationTokenFactoryMock) MinimockFinish()

MinimockFinish checks that all mocked methods of the interface have been called at least once

func (*DelegationTokenFactoryMock) MinimockWait added in v0.6.3

func (m *DelegationTokenFactoryMock) MinimockWait(timeout time.Duration)

MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller

func (*DelegationTokenFactoryMock) ValidateCallCounters added in v0.6.3

func (m *DelegationTokenFactoryMock) ValidateCallCounters()

ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*DelegationTokenFactoryMock) Verify added in v0.6.3

func (m *DelegationTokenFactoryMock) Verify(p core.Parcel) (r bool, r1 error)

Verify implements github.com/insolar/insolar/core.DelegationTokenFactory interface

func (*DelegationTokenFactoryMock) VerifyFinished added in v0.7.5

func (m *DelegationTokenFactoryMock) VerifyFinished() bool

VerifyFinished returns true if mock invocations count is ok

func (*DelegationTokenFactoryMock) VerifyMinimockCounter added in v0.6.3

func (m *DelegationTokenFactoryMock) VerifyMinimockCounter() uint64

VerifyMinimockCounter returns a count of DelegationTokenFactoryMock.VerifyFunc invocations

func (*DelegationTokenFactoryMock) VerifyMinimockPreCounter added in v0.6.3

func (m *DelegationTokenFactoryMock) VerifyMinimockPreCounter() uint64

VerifyMinimockPreCounter returns the value of DelegationTokenFactoryMock.Verify invocations

func (*DelegationTokenFactoryMock) Wait added in v0.6.3

func (m *DelegationTokenFactoryMock) Wait(timeout time.Duration)

Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller

type DelegationTokenFactoryMockIssueGetChildrenRedirectExpectation added in v0.7.5

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

func (*DelegationTokenFactoryMockIssueGetChildrenRedirectExpectation) Return added in v0.7.5

type DelegationTokenFactoryMockIssueGetChildrenRedirectInput added in v0.7.5

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

type DelegationTokenFactoryMockIssueGetChildrenRedirectResult added in v0.7.5

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

type DelegationTokenFactoryMockIssueGetCodeRedirectExpectation added in v0.7.5

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

func (*DelegationTokenFactoryMockIssueGetCodeRedirectExpectation) Return added in v0.7.5

type DelegationTokenFactoryMockIssueGetCodeRedirectInput added in v0.7.5

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

type DelegationTokenFactoryMockIssueGetCodeRedirectResult added in v0.7.5

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

type DelegationTokenFactoryMockIssueGetObjectRedirectExpectation added in v0.7.5

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

func (*DelegationTokenFactoryMockIssueGetObjectRedirectExpectation) Return added in v0.7.5

type DelegationTokenFactoryMockIssueGetObjectRedirectInput added in v0.7.5

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

type DelegationTokenFactoryMockIssueGetObjectRedirectResult added in v0.7.5

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

type DelegationTokenFactoryMockIssuePendingExecutionExpectation added in v0.7.5

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

func (*DelegationTokenFactoryMockIssuePendingExecutionExpectation) Return added in v0.7.5

type DelegationTokenFactoryMockIssuePendingExecutionInput added in v0.7.5

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

type DelegationTokenFactoryMockIssuePendingExecutionResult added in v0.7.5

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

type DelegationTokenFactoryMockVerifyExpectation added in v0.7.5

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

func (*DelegationTokenFactoryMockVerifyExpectation) Return added in v0.7.5

type DelegationTokenFactoryMockVerifyInput added in v0.7.5

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

type DelegationTokenFactoryMockVerifyResult added in v0.7.5

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

type DiscoveryNodeMock added in v0.6.3

type DiscoveryNodeMock struct {
	GetHostFunc       func() (r string)
	GetHostCounter    uint64
	GetHostPreCounter uint64
	GetHostMock       mDiscoveryNodeMockGetHost

	GetNodeRefFunc       func() (r *core.RecordRef)
	GetNodeRefCounter    uint64
	GetNodeRefPreCounter uint64
	GetNodeRefMock       mDiscoveryNodeMockGetNodeRef

	GetPublicKeyFunc       func() (r crypto.PublicKey)
	GetPublicKeyCounter    uint64
	GetPublicKeyPreCounter uint64
	GetPublicKeyMock       mDiscoveryNodeMockGetPublicKey
	// contains filtered or unexported fields
}

DiscoveryNodeMock implements github.com/insolar/insolar/core.DiscoveryNode

func NewDiscoveryNodeMock added in v0.6.3

func NewDiscoveryNodeMock(t minimock.Tester) *DiscoveryNodeMock

NewDiscoveryNodeMock returns a mock for github.com/insolar/insolar/core.DiscoveryNode

func (*DiscoveryNodeMock) AllMocksCalled added in v0.6.3

func (m *DiscoveryNodeMock) AllMocksCalled() bool

AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())

func (*DiscoveryNodeMock) CheckMocksCalled added in v0.6.3

func (m *DiscoveryNodeMock) CheckMocksCalled()

CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*DiscoveryNodeMock) Finish added in v0.6.3

func (m *DiscoveryNodeMock) Finish()

Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller

func (*DiscoveryNodeMock) GetHost added in v0.6.3

func (m *DiscoveryNodeMock) GetHost() (r string)

GetHost implements github.com/insolar/insolar/core.DiscoveryNode interface

func (*DiscoveryNodeMock) GetHostFinished added in v0.7.5

func (m *DiscoveryNodeMock) GetHostFinished() bool

GetHostFinished returns true if mock invocations count is ok

func (*DiscoveryNodeMock) GetHostMinimockCounter added in v0.6.3

func (m *DiscoveryNodeMock) GetHostMinimockCounter() uint64

GetHostMinimockCounter returns a count of DiscoveryNodeMock.GetHostFunc invocations

func (*DiscoveryNodeMock) GetHostMinimockPreCounter added in v0.6.3

func (m *DiscoveryNodeMock) GetHostMinimockPreCounter() uint64

GetHostMinimockPreCounter returns the value of DiscoveryNodeMock.GetHost invocations

func (*DiscoveryNodeMock) GetNodeRef added in v0.6.3

func (m *DiscoveryNodeMock) GetNodeRef() (r *core.RecordRef)

GetNodeRef implements github.com/insolar/insolar/core.DiscoveryNode interface

func (*DiscoveryNodeMock) GetNodeRefFinished added in v0.7.5

func (m *DiscoveryNodeMock) GetNodeRefFinished() bool

GetNodeRefFinished returns true if mock invocations count is ok

func (*DiscoveryNodeMock) GetNodeRefMinimockCounter added in v0.6.3

func (m *DiscoveryNodeMock) GetNodeRefMinimockCounter() uint64

GetNodeRefMinimockCounter returns a count of DiscoveryNodeMock.GetNodeRefFunc invocations

func (*DiscoveryNodeMock) GetNodeRefMinimockPreCounter added in v0.6.3

func (m *DiscoveryNodeMock) GetNodeRefMinimockPreCounter() uint64

GetNodeRefMinimockPreCounter returns the value of DiscoveryNodeMock.GetNodeRef invocations

func (*DiscoveryNodeMock) GetPublicKey added in v0.6.3

func (m *DiscoveryNodeMock) GetPublicKey() (r crypto.PublicKey)

GetPublicKey implements github.com/insolar/insolar/core.DiscoveryNode interface

func (*DiscoveryNodeMock) GetPublicKeyFinished added in v0.7.5

func (m *DiscoveryNodeMock) GetPublicKeyFinished() bool

GetPublicKeyFinished returns true if mock invocations count is ok

func (*DiscoveryNodeMock) GetPublicKeyMinimockCounter added in v0.6.3

func (m *DiscoveryNodeMock) GetPublicKeyMinimockCounter() uint64

GetPublicKeyMinimockCounter returns a count of DiscoveryNodeMock.GetPublicKeyFunc invocations

func (*DiscoveryNodeMock) GetPublicKeyMinimockPreCounter added in v0.6.3

func (m *DiscoveryNodeMock) GetPublicKeyMinimockPreCounter() uint64

GetPublicKeyMinimockPreCounter returns the value of DiscoveryNodeMock.GetPublicKey invocations

func (*DiscoveryNodeMock) MinimockFinish added in v0.6.3

func (m *DiscoveryNodeMock) MinimockFinish()

MinimockFinish checks that all mocked methods of the interface have been called at least once

func (*DiscoveryNodeMock) MinimockWait added in v0.6.3

func (m *DiscoveryNodeMock) MinimockWait(timeout time.Duration)

MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller

func (*DiscoveryNodeMock) ValidateCallCounters added in v0.6.3

func (m *DiscoveryNodeMock) ValidateCallCounters()

ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*DiscoveryNodeMock) Wait added in v0.6.3

func (m *DiscoveryNodeMock) Wait(timeout time.Duration)

Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller

type DiscoveryNodeMockGetHostExpectation added in v0.7.5

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

func (*DiscoveryNodeMockGetHostExpectation) Return added in v0.7.5

type DiscoveryNodeMockGetHostResult added in v0.7.5

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

type DiscoveryNodeMockGetNodeRefExpectation added in v0.7.5

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

func (*DiscoveryNodeMockGetNodeRefExpectation) Return added in v0.7.5

type DiscoveryNodeMockGetNodeRefResult added in v0.7.5

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

type DiscoveryNodeMockGetPublicKeyExpectation added in v0.7.5

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

func (*DiscoveryNodeMockGetPublicKeyExpectation) Return added in v0.7.5

type DiscoveryNodeMockGetPublicKeyResult added in v0.7.5

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

type GlobalInsolarLockMock added in v0.7.5

type GlobalInsolarLockMock struct {
	AcquireFunc       func(p context.Context)
	AcquireCounter    uint64
	AcquirePreCounter uint64
	AcquireMock       mGlobalInsolarLockMockAcquire

	ReleaseFunc       func(p context.Context)
	ReleaseCounter    uint64
	ReleasePreCounter uint64
	ReleaseMock       mGlobalInsolarLockMockRelease
	// contains filtered or unexported fields
}

GlobalInsolarLockMock implements github.com/insolar/insolar/core.GlobalInsolarLock

func NewGlobalInsolarLockMock added in v0.7.5

func NewGlobalInsolarLockMock(t minimock.Tester) *GlobalInsolarLockMock

NewGlobalInsolarLockMock returns a mock for github.com/insolar/insolar/core.GlobalInsolarLock

func (*GlobalInsolarLockMock) Acquire added in v0.7.5

func (m *GlobalInsolarLockMock) Acquire(p context.Context)

Acquire implements github.com/insolar/insolar/core.GlobalInsolarLock interface

func (*GlobalInsolarLockMock) AcquireFinished added in v0.7.5

func (m *GlobalInsolarLockMock) AcquireFinished() bool

AcquireFinished returns true if mock invocations count is ok

func (*GlobalInsolarLockMock) AcquireMinimockCounter added in v0.7.5

func (m *GlobalInsolarLockMock) AcquireMinimockCounter() uint64

AcquireMinimockCounter returns a count of GlobalInsolarLockMock.AcquireFunc invocations

func (*GlobalInsolarLockMock) AcquireMinimockPreCounter added in v0.7.5

func (m *GlobalInsolarLockMock) AcquireMinimockPreCounter() uint64

AcquireMinimockPreCounter returns the value of GlobalInsolarLockMock.Acquire invocations

func (*GlobalInsolarLockMock) AllMocksCalled added in v0.7.5

func (m *GlobalInsolarLockMock) AllMocksCalled() bool

AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())

func (*GlobalInsolarLockMock) CheckMocksCalled added in v0.7.5

func (m *GlobalInsolarLockMock) CheckMocksCalled()

CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*GlobalInsolarLockMock) Finish added in v0.7.5

func (m *GlobalInsolarLockMock) Finish()

Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller

func (*GlobalInsolarLockMock) MinimockFinish added in v0.7.5

func (m *GlobalInsolarLockMock) MinimockFinish()

MinimockFinish checks that all mocked methods of the interface have been called at least once

func (*GlobalInsolarLockMock) MinimockWait added in v0.7.5

func (m *GlobalInsolarLockMock) MinimockWait(timeout time.Duration)

MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller

func (*GlobalInsolarLockMock) Release added in v0.7.5

func (m *GlobalInsolarLockMock) Release(p context.Context)

Release implements github.com/insolar/insolar/core.GlobalInsolarLock interface

func (*GlobalInsolarLockMock) ReleaseFinished added in v0.7.5

func (m *GlobalInsolarLockMock) ReleaseFinished() bool

ReleaseFinished returns true if mock invocations count is ok

func (*GlobalInsolarLockMock) ReleaseMinimockCounter added in v0.7.5

func (m *GlobalInsolarLockMock) ReleaseMinimockCounter() uint64

ReleaseMinimockCounter returns a count of GlobalInsolarLockMock.ReleaseFunc invocations

func (*GlobalInsolarLockMock) ReleaseMinimockPreCounter added in v0.7.5

func (m *GlobalInsolarLockMock) ReleaseMinimockPreCounter() uint64

ReleaseMinimockPreCounter returns the value of GlobalInsolarLockMock.Release invocations

func (*GlobalInsolarLockMock) ValidateCallCounters added in v0.7.5

func (m *GlobalInsolarLockMock) ValidateCallCounters()

ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*GlobalInsolarLockMock) Wait added in v0.7.5

func (m *GlobalInsolarLockMock) Wait(timeout time.Duration)

Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller

type GlobalInsolarLockMockAcquireExpectation added in v0.7.5

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

type GlobalInsolarLockMockAcquireInput added in v0.7.5

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

type GlobalInsolarLockMockReleaseExpectation added in v0.7.5

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

type GlobalInsolarLockMockReleaseInput added in v0.7.5

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

type HeavySyncMock added in v0.6.3

type HeavySyncMock struct {
	ResetFunc       func(p context.Context, p1 core.RecordID, p2 core.PulseNumber) (r error)
	ResetCounter    uint64
	ResetPreCounter uint64
	ResetMock       mHeavySyncMockReset

	StartFunc       func(p context.Context, p1 core.RecordID, p2 core.PulseNumber) (r error)
	StartCounter    uint64
	StartPreCounter uint64
	StartMock       mHeavySyncMockStart

	StopFunc       func(p context.Context, p1 core.RecordID, p2 core.PulseNumber) (r error)
	StopCounter    uint64
	StopPreCounter uint64
	StopMock       mHeavySyncMockStop

	StoreFunc       func(p context.Context, p1 core.RecordID, p2 core.PulseNumber, p3 []core.KV) (r error)
	StoreCounter    uint64
	StorePreCounter uint64
	StoreMock       mHeavySyncMockStore
	// contains filtered or unexported fields
}

HeavySyncMock implements github.com/insolar/insolar/core.HeavySync

func NewHeavySyncMock added in v0.6.3

func NewHeavySyncMock(t minimock.Tester) *HeavySyncMock

NewHeavySyncMock returns a mock for github.com/insolar/insolar/core.HeavySync

func (*HeavySyncMock) AllMocksCalled added in v0.6.3

func (m *HeavySyncMock) AllMocksCalled() bool

AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())

func (*HeavySyncMock) CheckMocksCalled added in v0.6.3

func (m *HeavySyncMock) CheckMocksCalled()

CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*HeavySyncMock) Finish added in v0.6.3

func (m *HeavySyncMock) Finish()

Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller

func (*HeavySyncMock) MinimockFinish added in v0.6.3

func (m *HeavySyncMock) MinimockFinish()

MinimockFinish checks that all mocked methods of the interface have been called at least once

func (*HeavySyncMock) MinimockWait added in v0.6.3

func (m *HeavySyncMock) MinimockWait(timeout time.Duration)

MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller

func (*HeavySyncMock) Reset added in v0.7.5

func (m *HeavySyncMock) Reset(p context.Context, p1 core.RecordID, p2 core.PulseNumber) (r error)

Reset implements github.com/insolar/insolar/core.HeavySync interface

func (*HeavySyncMock) ResetFinished added in v0.7.5

func (m *HeavySyncMock) ResetFinished() bool

ResetFinished returns true if mock invocations count is ok

func (*HeavySyncMock) ResetMinimockCounter added in v0.7.5

func (m *HeavySyncMock) ResetMinimockCounter() uint64

ResetMinimockCounter returns a count of HeavySyncMock.ResetFunc invocations

func (*HeavySyncMock) ResetMinimockPreCounter added in v0.7.5

func (m *HeavySyncMock) ResetMinimockPreCounter() uint64

ResetMinimockPreCounter returns the value of HeavySyncMock.Reset invocations

func (*HeavySyncMock) Start added in v0.6.3

func (m *HeavySyncMock) Start(p context.Context, p1 core.RecordID, p2 core.PulseNumber) (r error)

Start implements github.com/insolar/insolar/core.HeavySync interface

func (*HeavySyncMock) StartFinished added in v0.7.5

func (m *HeavySyncMock) StartFinished() bool

StartFinished returns true if mock invocations count is ok

func (*HeavySyncMock) StartMinimockCounter added in v0.6.3

func (m *HeavySyncMock) StartMinimockCounter() uint64

StartMinimockCounter returns a count of HeavySyncMock.StartFunc invocations

func (*HeavySyncMock) StartMinimockPreCounter added in v0.6.3

func (m *HeavySyncMock) StartMinimockPreCounter() uint64

StartMinimockPreCounter returns the value of HeavySyncMock.Start invocations

func (*HeavySyncMock) Stop added in v0.6.3

Stop implements github.com/insolar/insolar/core.HeavySync interface

func (*HeavySyncMock) StopFinished added in v0.7.5

func (m *HeavySyncMock) StopFinished() bool

StopFinished returns true if mock invocations count is ok

func (*HeavySyncMock) StopMinimockCounter added in v0.6.3

func (m *HeavySyncMock) StopMinimockCounter() uint64

StopMinimockCounter returns a count of HeavySyncMock.StopFunc invocations

func (*HeavySyncMock) StopMinimockPreCounter added in v0.6.3

func (m *HeavySyncMock) StopMinimockPreCounter() uint64

StopMinimockPreCounter returns the value of HeavySyncMock.Stop invocations

func (*HeavySyncMock) Store added in v0.6.3

func (m *HeavySyncMock) Store(p context.Context, p1 core.RecordID, p2 core.PulseNumber, p3 []core.KV) (r error)

Store implements github.com/insolar/insolar/core.HeavySync interface

func (*HeavySyncMock) StoreFinished added in v0.7.5

func (m *HeavySyncMock) StoreFinished() bool

StoreFinished returns true if mock invocations count is ok

func (*HeavySyncMock) StoreMinimockCounter added in v0.6.3

func (m *HeavySyncMock) StoreMinimockCounter() uint64

StoreMinimockCounter returns a count of HeavySyncMock.StoreFunc invocations

func (*HeavySyncMock) StoreMinimockPreCounter added in v0.6.3

func (m *HeavySyncMock) StoreMinimockPreCounter() uint64

StoreMinimockPreCounter returns the value of HeavySyncMock.Store invocations

func (*HeavySyncMock) ValidateCallCounters added in v0.6.3

func (m *HeavySyncMock) ValidateCallCounters()

ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*HeavySyncMock) Wait added in v0.6.3

func (m *HeavySyncMock) Wait(timeout time.Duration)

Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller

type HeavySyncMockResetExpectation added in v0.7.5

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

func (*HeavySyncMockResetExpectation) Return added in v0.7.5

func (e *HeavySyncMockResetExpectation) Return(r error)

type HeavySyncMockResetInput added in v0.7.5

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

type HeavySyncMockResetResult added in v0.7.5

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

type HeavySyncMockStartExpectation added in v0.7.5

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

func (*HeavySyncMockStartExpectation) Return added in v0.7.5

func (e *HeavySyncMockStartExpectation) Return(r error)

type HeavySyncMockStartInput added in v0.7.5

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

type HeavySyncMockStartResult added in v0.7.5

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

type HeavySyncMockStopExpectation added in v0.7.5

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

func (*HeavySyncMockStopExpectation) Return added in v0.7.5

func (e *HeavySyncMockStopExpectation) Return(r error)

type HeavySyncMockStopInput added in v0.7.5

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

type HeavySyncMockStopResult added in v0.7.5

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

type HeavySyncMockStoreExpectation added in v0.7.5

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

func (*HeavySyncMockStoreExpectation) Return added in v0.7.5

func (e *HeavySyncMockStoreExpectation) Return(r error)

type HeavySyncMockStoreInput added in v0.7.5

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

type HeavySyncMockStoreResult added in v0.7.5

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

type JetCoordinatorMock added in v0.6.3

type JetCoordinatorMock struct {
	HeavyFunc       func(p context.Context, p1 core.PulseNumber) (r *core.RecordRef, r1 error)
	HeavyCounter    uint64
	HeavyPreCounter uint64
	HeavyMock       mJetCoordinatorMockHeavy

	IsAuthorizedFunc       func(p context.Context, p1 core.DynamicRole, p2 core.RecordID, p3 core.PulseNumber, p4 core.RecordRef) (r bool, r1 error)
	IsAuthorizedCounter    uint64
	IsAuthorizedPreCounter uint64
	IsAuthorizedMock       mJetCoordinatorMockIsAuthorized

	IsBeyondLimitFunc       func(p context.Context, p1 core.PulseNumber, p2 core.PulseNumber) (r bool, r1 error)
	IsBeyondLimitCounter    uint64
	IsBeyondLimitPreCounter uint64
	IsBeyondLimitMock       mJetCoordinatorMockIsBeyondLimit

	LightExecutorForJetFunc       func(p context.Context, p1 core.RecordID, p2 core.PulseNumber) (r *core.RecordRef, r1 error)
	LightExecutorForJetCounter    uint64
	LightExecutorForJetPreCounter uint64
	LightExecutorForJetMock       mJetCoordinatorMockLightExecutorForJet

	LightExecutorForObjectFunc       func(p context.Context, p1 core.RecordID, p2 core.PulseNumber) (r *core.RecordRef, r1 error)
	LightExecutorForObjectCounter    uint64
	LightExecutorForObjectPreCounter uint64
	LightExecutorForObjectMock       mJetCoordinatorMockLightExecutorForObject

	LightValidatorsForJetFunc       func(p context.Context, p1 core.RecordID, p2 core.PulseNumber) (r []core.RecordRef, r1 error)
	LightValidatorsForJetCounter    uint64
	LightValidatorsForJetPreCounter uint64
	LightValidatorsForJetMock       mJetCoordinatorMockLightValidatorsForJet

	LightValidatorsForObjectFunc       func(p context.Context, p1 core.RecordID, p2 core.PulseNumber) (r []core.RecordRef, r1 error)
	LightValidatorsForObjectCounter    uint64
	LightValidatorsForObjectPreCounter uint64
	LightValidatorsForObjectMock       mJetCoordinatorMockLightValidatorsForObject

	MeFunc       func() (r core.RecordRef)
	MeCounter    uint64
	MePreCounter uint64
	MeMock       mJetCoordinatorMockMe

	NodeForJetFunc       func(p context.Context, p1 core.RecordID, p2 core.PulseNumber, p3 core.PulseNumber) (r *core.RecordRef, r1 error)
	NodeForJetCounter    uint64
	NodeForJetPreCounter uint64
	NodeForJetMock       mJetCoordinatorMockNodeForJet

	NodeForObjectFunc       func(p context.Context, p1 core.RecordID, p2 core.PulseNumber, p3 core.PulseNumber) (r *core.RecordRef, r1 error)
	NodeForObjectCounter    uint64
	NodeForObjectPreCounter uint64
	NodeForObjectMock       mJetCoordinatorMockNodeForObject

	QueryRoleFunc       func(p context.Context, p1 core.DynamicRole, p2 core.RecordID, p3 core.PulseNumber) (r []core.RecordRef, r1 error)
	QueryRoleCounter    uint64
	QueryRolePreCounter uint64
	QueryRoleMock       mJetCoordinatorMockQueryRole

	VirtualExecutorForObjectFunc       func(p context.Context, p1 core.RecordID, p2 core.PulseNumber) (r *core.RecordRef, r1 error)
	VirtualExecutorForObjectCounter    uint64
	VirtualExecutorForObjectPreCounter uint64
	VirtualExecutorForObjectMock       mJetCoordinatorMockVirtualExecutorForObject

	VirtualValidatorsForObjectFunc       func(p context.Context, p1 core.RecordID, p2 core.PulseNumber) (r []core.RecordRef, r1 error)
	VirtualValidatorsForObjectCounter    uint64
	VirtualValidatorsForObjectPreCounter uint64
	VirtualValidatorsForObjectMock       mJetCoordinatorMockVirtualValidatorsForObject
	// contains filtered or unexported fields
}

JetCoordinatorMock implements github.com/insolar/insolar/core.JetCoordinator

func NewJetCoordinatorMock added in v0.6.3

func NewJetCoordinatorMock(t minimock.Tester) *JetCoordinatorMock

NewJetCoordinatorMock returns a mock for github.com/insolar/insolar/core.JetCoordinator

func (*JetCoordinatorMock) AllMocksCalled added in v0.6.3

func (m *JetCoordinatorMock) AllMocksCalled() bool

AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())

func (*JetCoordinatorMock) CheckMocksCalled added in v0.6.3

func (m *JetCoordinatorMock) CheckMocksCalled()

CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*JetCoordinatorMock) Finish added in v0.6.3

func (m *JetCoordinatorMock) Finish()

Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller

func (*JetCoordinatorMock) Heavy added in v0.7.5

Heavy implements github.com/insolar/insolar/core.JetCoordinator interface

func (*JetCoordinatorMock) HeavyFinished added in v0.7.5

func (m *JetCoordinatorMock) HeavyFinished() bool

HeavyFinished returns true if mock invocations count is ok

func (*JetCoordinatorMock) HeavyMinimockCounter added in v0.7.5

func (m *JetCoordinatorMock) HeavyMinimockCounter() uint64

HeavyMinimockCounter returns a count of JetCoordinatorMock.HeavyFunc invocations

func (*JetCoordinatorMock) HeavyMinimockPreCounter added in v0.7.5

func (m *JetCoordinatorMock) HeavyMinimockPreCounter() uint64

HeavyMinimockPreCounter returns the value of JetCoordinatorMock.Heavy invocations

func (*JetCoordinatorMock) IsAuthorized added in v0.6.3

func (m *JetCoordinatorMock) IsAuthorized(p context.Context, p1 core.DynamicRole, p2 core.RecordID, p3 core.PulseNumber, p4 core.RecordRef) (r bool, r1 error)

IsAuthorized implements github.com/insolar/insolar/core.JetCoordinator interface

func (*JetCoordinatorMock) IsAuthorizedFinished added in v0.7.5

func (m *JetCoordinatorMock) IsAuthorizedFinished() bool

IsAuthorizedFinished returns true if mock invocations count is ok

func (*JetCoordinatorMock) IsAuthorizedMinimockCounter added in v0.6.3

func (m *JetCoordinatorMock) IsAuthorizedMinimockCounter() uint64

IsAuthorizedMinimockCounter returns a count of JetCoordinatorMock.IsAuthorizedFunc invocations

func (*JetCoordinatorMock) IsAuthorizedMinimockPreCounter added in v0.6.3

func (m *JetCoordinatorMock) IsAuthorizedMinimockPreCounter() uint64

IsAuthorizedMinimockPreCounter returns the value of JetCoordinatorMock.IsAuthorized invocations

func (*JetCoordinatorMock) IsBeyondLimit added in v0.8.0

func (m *JetCoordinatorMock) IsBeyondLimit(p context.Context, p1 core.PulseNumber, p2 core.PulseNumber) (r bool, r1 error)

IsBeyondLimit implements github.com/insolar/insolar/core.JetCoordinator interface

func (*JetCoordinatorMock) IsBeyondLimitFinished added in v0.8.0

func (m *JetCoordinatorMock) IsBeyondLimitFinished() bool

IsBeyondLimitFinished returns true if mock invocations count is ok

func (*JetCoordinatorMock) IsBeyondLimitMinimockCounter added in v0.8.0

func (m *JetCoordinatorMock) IsBeyondLimitMinimockCounter() uint64

IsBeyondLimitMinimockCounter returns a count of JetCoordinatorMock.IsBeyondLimitFunc invocations

func (*JetCoordinatorMock) IsBeyondLimitMinimockPreCounter added in v0.8.0

func (m *JetCoordinatorMock) IsBeyondLimitMinimockPreCounter() uint64

IsBeyondLimitMinimockPreCounter returns the value of JetCoordinatorMock.IsBeyondLimit invocations

func (*JetCoordinatorMock) LightExecutorForJet added in v0.7.5

func (m *JetCoordinatorMock) LightExecutorForJet(p context.Context, p1 core.RecordID, p2 core.PulseNumber) (r *core.RecordRef, r1 error)

LightExecutorForJet implements github.com/insolar/insolar/core.JetCoordinator interface

func (*JetCoordinatorMock) LightExecutorForJetFinished added in v0.7.5

func (m *JetCoordinatorMock) LightExecutorForJetFinished() bool

LightExecutorForJetFinished returns true if mock invocations count is ok

func (*JetCoordinatorMock) LightExecutorForJetMinimockCounter added in v0.7.5

func (m *JetCoordinatorMock) LightExecutorForJetMinimockCounter() uint64

LightExecutorForJetMinimockCounter returns a count of JetCoordinatorMock.LightExecutorForJetFunc invocations

func (*JetCoordinatorMock) LightExecutorForJetMinimockPreCounter added in v0.7.5

func (m *JetCoordinatorMock) LightExecutorForJetMinimockPreCounter() uint64

LightExecutorForJetMinimockPreCounter returns the value of JetCoordinatorMock.LightExecutorForJet invocations

func (*JetCoordinatorMock) LightExecutorForObject added in v0.7.5

func (m *JetCoordinatorMock) LightExecutorForObject(p context.Context, p1 core.RecordID, p2 core.PulseNumber) (r *core.RecordRef, r1 error)

LightExecutorForObject implements github.com/insolar/insolar/core.JetCoordinator interface

func (*JetCoordinatorMock) LightExecutorForObjectFinished added in v0.7.5

func (m *JetCoordinatorMock) LightExecutorForObjectFinished() bool

LightExecutorForObjectFinished returns true if mock invocations count is ok

func (*JetCoordinatorMock) LightExecutorForObjectMinimockCounter added in v0.7.5

func (m *JetCoordinatorMock) LightExecutorForObjectMinimockCounter() uint64

LightExecutorForObjectMinimockCounter returns a count of JetCoordinatorMock.LightExecutorForObjectFunc invocations

func (*JetCoordinatorMock) LightExecutorForObjectMinimockPreCounter added in v0.7.5

func (m *JetCoordinatorMock) LightExecutorForObjectMinimockPreCounter() uint64

LightExecutorForObjectMinimockPreCounter returns the value of JetCoordinatorMock.LightExecutorForObject invocations

func (*JetCoordinatorMock) LightValidatorsForJet added in v0.7.5

func (m *JetCoordinatorMock) LightValidatorsForJet(p context.Context, p1 core.RecordID, p2 core.PulseNumber) (r []core.RecordRef, r1 error)

LightValidatorsForJet implements github.com/insolar/insolar/core.JetCoordinator interface

func (*JetCoordinatorMock) LightValidatorsForJetFinished added in v0.7.5

func (m *JetCoordinatorMock) LightValidatorsForJetFinished() bool

LightValidatorsForJetFinished returns true if mock invocations count is ok

func (*JetCoordinatorMock) LightValidatorsForJetMinimockCounter added in v0.7.5

func (m *JetCoordinatorMock) LightValidatorsForJetMinimockCounter() uint64

LightValidatorsForJetMinimockCounter returns a count of JetCoordinatorMock.LightValidatorsForJetFunc invocations

func (*JetCoordinatorMock) LightValidatorsForJetMinimockPreCounter added in v0.7.5

func (m *JetCoordinatorMock) LightValidatorsForJetMinimockPreCounter() uint64

LightValidatorsForJetMinimockPreCounter returns the value of JetCoordinatorMock.LightValidatorsForJet invocations

func (*JetCoordinatorMock) LightValidatorsForObject added in v0.7.5

func (m *JetCoordinatorMock) LightValidatorsForObject(p context.Context, p1 core.RecordID, p2 core.PulseNumber) (r []core.RecordRef, r1 error)

LightValidatorsForObject implements github.com/insolar/insolar/core.JetCoordinator interface

func (*JetCoordinatorMock) LightValidatorsForObjectFinished added in v0.7.5

func (m *JetCoordinatorMock) LightValidatorsForObjectFinished() bool

LightValidatorsForObjectFinished returns true if mock invocations count is ok

func (*JetCoordinatorMock) LightValidatorsForObjectMinimockCounter added in v0.7.5

func (m *JetCoordinatorMock) LightValidatorsForObjectMinimockCounter() uint64

LightValidatorsForObjectMinimockCounter returns a count of JetCoordinatorMock.LightValidatorsForObjectFunc invocations

func (*JetCoordinatorMock) LightValidatorsForObjectMinimockPreCounter added in v0.7.5

func (m *JetCoordinatorMock) LightValidatorsForObjectMinimockPreCounter() uint64

LightValidatorsForObjectMinimockPreCounter returns the value of JetCoordinatorMock.LightValidatorsForObject invocations

func (*JetCoordinatorMock) Me added in v0.7.5

func (m *JetCoordinatorMock) Me() (r core.RecordRef)

Me implements github.com/insolar/insolar/core.JetCoordinator interface

func (*JetCoordinatorMock) MeFinished added in v0.7.5

func (m *JetCoordinatorMock) MeFinished() bool

MeFinished returns true if mock invocations count is ok

func (*JetCoordinatorMock) MeMinimockCounter added in v0.7.5

func (m *JetCoordinatorMock) MeMinimockCounter() uint64

MeMinimockCounter returns a count of JetCoordinatorMock.MeFunc invocations

func (*JetCoordinatorMock) MeMinimockPreCounter added in v0.7.5

func (m *JetCoordinatorMock) MeMinimockPreCounter() uint64

MeMinimockPreCounter returns the value of JetCoordinatorMock.Me invocations

func (*JetCoordinatorMock) MinimockFinish added in v0.6.3

func (m *JetCoordinatorMock) MinimockFinish()

MinimockFinish checks that all mocked methods of the interface have been called at least once

func (*JetCoordinatorMock) MinimockWait added in v0.6.3

func (m *JetCoordinatorMock) MinimockWait(timeout time.Duration)

MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller

func (*JetCoordinatorMock) NodeForJet added in v0.8.0

NodeForJet implements github.com/insolar/insolar/core.JetCoordinator interface

func (*JetCoordinatorMock) NodeForJetFinished added in v0.8.0

func (m *JetCoordinatorMock) NodeForJetFinished() bool

NodeForJetFinished returns true if mock invocations count is ok

func (*JetCoordinatorMock) NodeForJetMinimockCounter added in v0.8.0

func (m *JetCoordinatorMock) NodeForJetMinimockCounter() uint64

NodeForJetMinimockCounter returns a count of JetCoordinatorMock.NodeForJetFunc invocations

func (*JetCoordinatorMock) NodeForJetMinimockPreCounter added in v0.8.0

func (m *JetCoordinatorMock) NodeForJetMinimockPreCounter() uint64

NodeForJetMinimockPreCounter returns the value of JetCoordinatorMock.NodeForJet invocations

func (*JetCoordinatorMock) NodeForObject added in v0.8.0

NodeForObject implements github.com/insolar/insolar/core.JetCoordinator interface

func (*JetCoordinatorMock) NodeForObjectFinished added in v0.8.0

func (m *JetCoordinatorMock) NodeForObjectFinished() bool

NodeForObjectFinished returns true if mock invocations count is ok

func (*JetCoordinatorMock) NodeForObjectMinimockCounter added in v0.8.0

func (m *JetCoordinatorMock) NodeForObjectMinimockCounter() uint64

NodeForObjectMinimockCounter returns a count of JetCoordinatorMock.NodeForObjectFunc invocations

func (*JetCoordinatorMock) NodeForObjectMinimockPreCounter added in v0.8.0

func (m *JetCoordinatorMock) NodeForObjectMinimockPreCounter() uint64

NodeForObjectMinimockPreCounter returns the value of JetCoordinatorMock.NodeForObject invocations

func (*JetCoordinatorMock) QueryRole added in v0.6.3

QueryRole implements github.com/insolar/insolar/core.JetCoordinator interface

func (*JetCoordinatorMock) QueryRoleFinished added in v0.7.5

func (m *JetCoordinatorMock) QueryRoleFinished() bool

QueryRoleFinished returns true if mock invocations count is ok

func (*JetCoordinatorMock) QueryRoleMinimockCounter added in v0.6.3

func (m *JetCoordinatorMock) QueryRoleMinimockCounter() uint64

QueryRoleMinimockCounter returns a count of JetCoordinatorMock.QueryRoleFunc invocations

func (*JetCoordinatorMock) QueryRoleMinimockPreCounter added in v0.6.3

func (m *JetCoordinatorMock) QueryRoleMinimockPreCounter() uint64

QueryRoleMinimockPreCounter returns the value of JetCoordinatorMock.QueryRole invocations

func (*JetCoordinatorMock) ValidateCallCounters added in v0.6.3

func (m *JetCoordinatorMock) ValidateCallCounters()

ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*JetCoordinatorMock) VirtualExecutorForObject added in v0.7.5

func (m *JetCoordinatorMock) VirtualExecutorForObject(p context.Context, p1 core.RecordID, p2 core.PulseNumber) (r *core.RecordRef, r1 error)

VirtualExecutorForObject implements github.com/insolar/insolar/core.JetCoordinator interface

func (*JetCoordinatorMock) VirtualExecutorForObjectFinished added in v0.7.5

func (m *JetCoordinatorMock) VirtualExecutorForObjectFinished() bool

VirtualExecutorForObjectFinished returns true if mock invocations count is ok

func (*JetCoordinatorMock) VirtualExecutorForObjectMinimockCounter added in v0.7.5

func (m *JetCoordinatorMock) VirtualExecutorForObjectMinimockCounter() uint64

VirtualExecutorForObjectMinimockCounter returns a count of JetCoordinatorMock.VirtualExecutorForObjectFunc invocations

func (*JetCoordinatorMock) VirtualExecutorForObjectMinimockPreCounter added in v0.7.5

func (m *JetCoordinatorMock) VirtualExecutorForObjectMinimockPreCounter() uint64

VirtualExecutorForObjectMinimockPreCounter returns the value of JetCoordinatorMock.VirtualExecutorForObject invocations

func (*JetCoordinatorMock) VirtualValidatorsForObject added in v0.7.5

func (m *JetCoordinatorMock) VirtualValidatorsForObject(p context.Context, p1 core.RecordID, p2 core.PulseNumber) (r []core.RecordRef, r1 error)

VirtualValidatorsForObject implements github.com/insolar/insolar/core.JetCoordinator interface

func (*JetCoordinatorMock) VirtualValidatorsForObjectFinished added in v0.7.5

func (m *JetCoordinatorMock) VirtualValidatorsForObjectFinished() bool

VirtualValidatorsForObjectFinished returns true if mock invocations count is ok

func (*JetCoordinatorMock) VirtualValidatorsForObjectMinimockCounter added in v0.7.5

func (m *JetCoordinatorMock) VirtualValidatorsForObjectMinimockCounter() uint64

VirtualValidatorsForObjectMinimockCounter returns a count of JetCoordinatorMock.VirtualValidatorsForObjectFunc invocations

func (*JetCoordinatorMock) VirtualValidatorsForObjectMinimockPreCounter added in v0.7.5

func (m *JetCoordinatorMock) VirtualValidatorsForObjectMinimockPreCounter() uint64

VirtualValidatorsForObjectMinimockPreCounter returns the value of JetCoordinatorMock.VirtualValidatorsForObject invocations

func (*JetCoordinatorMock) Wait added in v0.6.3

func (m *JetCoordinatorMock) Wait(timeout time.Duration)

Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller

type JetCoordinatorMockHeavyExpectation added in v0.7.5

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

func (*JetCoordinatorMockHeavyExpectation) Return added in v0.7.5

type JetCoordinatorMockHeavyInput added in v0.7.5

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

type JetCoordinatorMockHeavyResult added in v0.7.5

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

type JetCoordinatorMockIsAuthorizedExpectation added in v0.7.5

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

func (*JetCoordinatorMockIsAuthorizedExpectation) Return added in v0.7.5

type JetCoordinatorMockIsAuthorizedInput added in v0.7.5

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

type JetCoordinatorMockIsAuthorizedResult added in v0.7.5

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

type JetCoordinatorMockIsBeyondLimitExpectation added in v0.8.0

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

func (*JetCoordinatorMockIsBeyondLimitExpectation) Return added in v0.8.0

type JetCoordinatorMockIsBeyondLimitInput added in v0.8.0

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

type JetCoordinatorMockIsBeyondLimitResult added in v0.8.0

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

type JetCoordinatorMockLightExecutorForJetExpectation added in v0.7.5

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

func (*JetCoordinatorMockLightExecutorForJetExpectation) Return added in v0.7.5

type JetCoordinatorMockLightExecutorForJetInput added in v0.7.5

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

type JetCoordinatorMockLightExecutorForJetResult added in v0.7.5

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

type JetCoordinatorMockLightExecutorForObjectExpectation added in v0.7.5

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

func (*JetCoordinatorMockLightExecutorForObjectExpectation) Return added in v0.7.5

type JetCoordinatorMockLightExecutorForObjectInput added in v0.7.5

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

type JetCoordinatorMockLightExecutorForObjectResult added in v0.7.5

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

type JetCoordinatorMockLightValidatorsForJetExpectation added in v0.7.5

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

func (*JetCoordinatorMockLightValidatorsForJetExpectation) Return added in v0.7.5

type JetCoordinatorMockLightValidatorsForJetInput added in v0.7.5

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

type JetCoordinatorMockLightValidatorsForJetResult added in v0.7.5

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

type JetCoordinatorMockLightValidatorsForObjectExpectation added in v0.7.5

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

func (*JetCoordinatorMockLightValidatorsForObjectExpectation) Return added in v0.7.5

type JetCoordinatorMockLightValidatorsForObjectInput added in v0.7.5

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

type JetCoordinatorMockLightValidatorsForObjectResult added in v0.7.5

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

type JetCoordinatorMockMeExpectation added in v0.7.5

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

func (*JetCoordinatorMockMeExpectation) Return added in v0.7.5

type JetCoordinatorMockMeResult added in v0.7.5

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

type JetCoordinatorMockNodeForJetExpectation added in v0.8.0

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

func (*JetCoordinatorMockNodeForJetExpectation) Return added in v0.8.0

type JetCoordinatorMockNodeForJetInput added in v0.8.0

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

type JetCoordinatorMockNodeForJetResult added in v0.8.0

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

type JetCoordinatorMockNodeForObjectExpectation added in v0.8.0

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

func (*JetCoordinatorMockNodeForObjectExpectation) Return added in v0.8.0

type JetCoordinatorMockNodeForObjectInput added in v0.8.0

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

type JetCoordinatorMockNodeForObjectResult added in v0.8.0

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

type JetCoordinatorMockQueryRoleExpectation added in v0.7.5

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

func (*JetCoordinatorMockQueryRoleExpectation) Return added in v0.7.5

type JetCoordinatorMockQueryRoleInput added in v0.7.5

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

type JetCoordinatorMockQueryRoleResult added in v0.7.5

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

type JetCoordinatorMockVirtualExecutorForObjectExpectation added in v0.7.5

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

func (*JetCoordinatorMockVirtualExecutorForObjectExpectation) Return added in v0.7.5

type JetCoordinatorMockVirtualExecutorForObjectInput added in v0.7.5

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

type JetCoordinatorMockVirtualExecutorForObjectResult added in v0.7.5

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

type JetCoordinatorMockVirtualValidatorsForObjectExpectation added in v0.7.5

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

func (*JetCoordinatorMockVirtualValidatorsForObjectExpectation) Return added in v0.7.5

type JetCoordinatorMockVirtualValidatorsForObjectInput added in v0.7.5

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

type JetCoordinatorMockVirtualValidatorsForObjectResult added in v0.7.5

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

type KeyProcessorMock added in v0.6.3

type KeyProcessorMock struct {
	ExportPrivateKeyPEMFunc       func(p crypto.PrivateKey) (r []byte, r1 error)
	ExportPrivateKeyPEMCounter    uint64
	ExportPrivateKeyPEMPreCounter uint64
	ExportPrivateKeyPEMMock       mKeyProcessorMockExportPrivateKeyPEM

	ExportPublicKeyBinaryFunc       func(p crypto.PublicKey) (r []byte, r1 error)
	ExportPublicKeyBinaryCounter    uint64
	ExportPublicKeyBinaryPreCounter uint64
	ExportPublicKeyBinaryMock       mKeyProcessorMockExportPublicKeyBinary

	ExportPublicKeyPEMFunc       func(p crypto.PublicKey) (r []byte, r1 error)
	ExportPublicKeyPEMCounter    uint64
	ExportPublicKeyPEMPreCounter uint64
	ExportPublicKeyPEMMock       mKeyProcessorMockExportPublicKeyPEM

	ExtractPublicKeyFunc       func(p crypto.PrivateKey) (r crypto.PublicKey)
	ExtractPublicKeyCounter    uint64
	ExtractPublicKeyPreCounter uint64
	ExtractPublicKeyMock       mKeyProcessorMockExtractPublicKey

	GeneratePrivateKeyFunc       func() (r crypto.PrivateKey, r1 error)
	GeneratePrivateKeyCounter    uint64
	GeneratePrivateKeyPreCounter uint64
	GeneratePrivateKeyMock       mKeyProcessorMockGeneratePrivateKey

	ImportPrivateKeyPEMFunc       func(p []byte) (r crypto.PrivateKey, r1 error)
	ImportPrivateKeyPEMCounter    uint64
	ImportPrivateKeyPEMPreCounter uint64
	ImportPrivateKeyPEMMock       mKeyProcessorMockImportPrivateKeyPEM

	ImportPublicKeyBinaryFunc       func(p []byte) (r crypto.PublicKey, r1 error)
	ImportPublicKeyBinaryCounter    uint64
	ImportPublicKeyBinaryPreCounter uint64
	ImportPublicKeyBinaryMock       mKeyProcessorMockImportPublicKeyBinary

	ImportPublicKeyPEMFunc       func(p []byte) (r crypto.PublicKey, r1 error)
	ImportPublicKeyPEMCounter    uint64
	ImportPublicKeyPEMPreCounter uint64
	ImportPublicKeyPEMMock       mKeyProcessorMockImportPublicKeyPEM
	// contains filtered or unexported fields
}

KeyProcessorMock implements github.com/insolar/insolar/core.KeyProcessor

func NewKeyProcessorMock added in v0.6.3

func NewKeyProcessorMock(t minimock.Tester) *KeyProcessorMock

NewKeyProcessorMock returns a mock for github.com/insolar/insolar/core.KeyProcessor

func (*KeyProcessorMock) AllMocksCalled added in v0.6.3

func (m *KeyProcessorMock) AllMocksCalled() bool

AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())

func (*KeyProcessorMock) CheckMocksCalled added in v0.6.3

func (m *KeyProcessorMock) CheckMocksCalled()

CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*KeyProcessorMock) ExportPrivateKeyPEM added in v0.7.5

func (m *KeyProcessorMock) ExportPrivateKeyPEM(p crypto.PrivateKey) (r []byte, r1 error)

ExportPrivateKeyPEM implements github.com/insolar/insolar/core.KeyProcessor interface

func (*KeyProcessorMock) ExportPrivateKeyPEMFinished added in v0.7.5

func (m *KeyProcessorMock) ExportPrivateKeyPEMFinished() bool

ExportPrivateKeyPEMFinished returns true if mock invocations count is ok

func (*KeyProcessorMock) ExportPrivateKeyPEMMinimockCounter added in v0.7.5

func (m *KeyProcessorMock) ExportPrivateKeyPEMMinimockCounter() uint64

ExportPrivateKeyPEMMinimockCounter returns a count of KeyProcessorMock.ExportPrivateKeyPEMFunc invocations

func (*KeyProcessorMock) ExportPrivateKeyPEMMinimockPreCounter added in v0.7.5

func (m *KeyProcessorMock) ExportPrivateKeyPEMMinimockPreCounter() uint64

ExportPrivateKeyPEMMinimockPreCounter returns the value of KeyProcessorMock.ExportPrivateKeyPEM invocations

func (*KeyProcessorMock) ExportPublicKeyBinary added in v0.7.5

func (m *KeyProcessorMock) ExportPublicKeyBinary(p crypto.PublicKey) (r []byte, r1 error)

ExportPublicKeyBinary implements github.com/insolar/insolar/core.KeyProcessor interface

func (*KeyProcessorMock) ExportPublicKeyBinaryFinished added in v0.7.5

func (m *KeyProcessorMock) ExportPublicKeyBinaryFinished() bool

ExportPublicKeyBinaryFinished returns true if mock invocations count is ok

func (*KeyProcessorMock) ExportPublicKeyBinaryMinimockCounter added in v0.7.5

func (m *KeyProcessorMock) ExportPublicKeyBinaryMinimockCounter() uint64

ExportPublicKeyBinaryMinimockCounter returns a count of KeyProcessorMock.ExportPublicKeyBinaryFunc invocations

func (*KeyProcessorMock) ExportPublicKeyBinaryMinimockPreCounter added in v0.7.5

func (m *KeyProcessorMock) ExportPublicKeyBinaryMinimockPreCounter() uint64

ExportPublicKeyBinaryMinimockPreCounter returns the value of KeyProcessorMock.ExportPublicKeyBinary invocations

func (*KeyProcessorMock) ExportPublicKeyPEM added in v0.7.5

func (m *KeyProcessorMock) ExportPublicKeyPEM(p crypto.PublicKey) (r []byte, r1 error)

ExportPublicKeyPEM implements github.com/insolar/insolar/core.KeyProcessor interface

func (*KeyProcessorMock) ExportPublicKeyPEMFinished added in v0.7.5

func (m *KeyProcessorMock) ExportPublicKeyPEMFinished() bool

ExportPublicKeyPEMFinished returns true if mock invocations count is ok

func (*KeyProcessorMock) ExportPublicKeyPEMMinimockCounter added in v0.7.5

func (m *KeyProcessorMock) ExportPublicKeyPEMMinimockCounter() uint64

ExportPublicKeyPEMMinimockCounter returns a count of KeyProcessorMock.ExportPublicKeyPEMFunc invocations

func (*KeyProcessorMock) ExportPublicKeyPEMMinimockPreCounter added in v0.7.5

func (m *KeyProcessorMock) ExportPublicKeyPEMMinimockPreCounter() uint64

ExportPublicKeyPEMMinimockPreCounter returns the value of KeyProcessorMock.ExportPublicKeyPEM invocations

func (*KeyProcessorMock) ExtractPublicKey added in v0.6.3

func (m *KeyProcessorMock) ExtractPublicKey(p crypto.PrivateKey) (r crypto.PublicKey)

ExtractPublicKey implements github.com/insolar/insolar/core.KeyProcessor interface

func (*KeyProcessorMock) ExtractPublicKeyFinished added in v0.7.5

func (m *KeyProcessorMock) ExtractPublicKeyFinished() bool

ExtractPublicKeyFinished returns true if mock invocations count is ok

func (*KeyProcessorMock) ExtractPublicKeyMinimockCounter added in v0.6.3

func (m *KeyProcessorMock) ExtractPublicKeyMinimockCounter() uint64

ExtractPublicKeyMinimockCounter returns a count of KeyProcessorMock.ExtractPublicKeyFunc invocations

func (*KeyProcessorMock) ExtractPublicKeyMinimockPreCounter added in v0.6.3

func (m *KeyProcessorMock) ExtractPublicKeyMinimockPreCounter() uint64

ExtractPublicKeyMinimockPreCounter returns the value of KeyProcessorMock.ExtractPublicKey invocations

func (*KeyProcessorMock) Finish added in v0.6.3

func (m *KeyProcessorMock) Finish()

Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller

func (*KeyProcessorMock) GeneratePrivateKey added in v0.6.3

func (m *KeyProcessorMock) GeneratePrivateKey() (r crypto.PrivateKey, r1 error)

GeneratePrivateKey implements github.com/insolar/insolar/core.KeyProcessor interface

func (*KeyProcessorMock) GeneratePrivateKeyFinished added in v0.7.5

func (m *KeyProcessorMock) GeneratePrivateKeyFinished() bool

GeneratePrivateKeyFinished returns true if mock invocations count is ok

func (*KeyProcessorMock) GeneratePrivateKeyMinimockCounter added in v0.6.3

func (m *KeyProcessorMock) GeneratePrivateKeyMinimockCounter() uint64

GeneratePrivateKeyMinimockCounter returns a count of KeyProcessorMock.GeneratePrivateKeyFunc invocations

func (*KeyProcessorMock) GeneratePrivateKeyMinimockPreCounter added in v0.6.3

func (m *KeyProcessorMock) GeneratePrivateKeyMinimockPreCounter() uint64

GeneratePrivateKeyMinimockPreCounter returns the value of KeyProcessorMock.GeneratePrivateKey invocations

func (*KeyProcessorMock) ImportPrivateKeyPEM added in v0.7.5

func (m *KeyProcessorMock) ImportPrivateKeyPEM(p []byte) (r crypto.PrivateKey, r1 error)

ImportPrivateKeyPEM implements github.com/insolar/insolar/core.KeyProcessor interface

func (*KeyProcessorMock) ImportPrivateKeyPEMFinished added in v0.7.5

func (m *KeyProcessorMock) ImportPrivateKeyPEMFinished() bool

ImportPrivateKeyPEMFinished returns true if mock invocations count is ok

func (*KeyProcessorMock) ImportPrivateKeyPEMMinimockCounter added in v0.7.5

func (m *KeyProcessorMock) ImportPrivateKeyPEMMinimockCounter() uint64

ImportPrivateKeyPEMMinimockCounter returns a count of KeyProcessorMock.ImportPrivateKeyPEMFunc invocations

func (*KeyProcessorMock) ImportPrivateKeyPEMMinimockPreCounter added in v0.7.5

func (m *KeyProcessorMock) ImportPrivateKeyPEMMinimockPreCounter() uint64

ImportPrivateKeyPEMMinimockPreCounter returns the value of KeyProcessorMock.ImportPrivateKeyPEM invocations

func (*KeyProcessorMock) ImportPublicKeyBinary added in v0.7.5

func (m *KeyProcessorMock) ImportPublicKeyBinary(p []byte) (r crypto.PublicKey, r1 error)

ImportPublicKeyBinary implements github.com/insolar/insolar/core.KeyProcessor interface

func (*KeyProcessorMock) ImportPublicKeyBinaryFinished added in v0.7.5

func (m *KeyProcessorMock) ImportPublicKeyBinaryFinished() bool

ImportPublicKeyBinaryFinished returns true if mock invocations count is ok

func (*KeyProcessorMock) ImportPublicKeyBinaryMinimockCounter added in v0.7.5

func (m *KeyProcessorMock) ImportPublicKeyBinaryMinimockCounter() uint64

ImportPublicKeyBinaryMinimockCounter returns a count of KeyProcessorMock.ImportPublicKeyBinaryFunc invocations

func (*KeyProcessorMock) ImportPublicKeyBinaryMinimockPreCounter added in v0.7.5

func (m *KeyProcessorMock) ImportPublicKeyBinaryMinimockPreCounter() uint64

ImportPublicKeyBinaryMinimockPreCounter returns the value of KeyProcessorMock.ImportPublicKeyBinary invocations

func (*KeyProcessorMock) ImportPublicKeyPEM added in v0.7.5

func (m *KeyProcessorMock) ImportPublicKeyPEM(p []byte) (r crypto.PublicKey, r1 error)

ImportPublicKeyPEM implements github.com/insolar/insolar/core.KeyProcessor interface

func (*KeyProcessorMock) ImportPublicKeyPEMFinished added in v0.7.5

func (m *KeyProcessorMock) ImportPublicKeyPEMFinished() bool

ImportPublicKeyPEMFinished returns true if mock invocations count is ok

func (*KeyProcessorMock) ImportPublicKeyPEMMinimockCounter added in v0.7.5

func (m *KeyProcessorMock) ImportPublicKeyPEMMinimockCounter() uint64

ImportPublicKeyPEMMinimockCounter returns a count of KeyProcessorMock.ImportPublicKeyPEMFunc invocations

func (*KeyProcessorMock) ImportPublicKeyPEMMinimockPreCounter added in v0.7.5

func (m *KeyProcessorMock) ImportPublicKeyPEMMinimockPreCounter() uint64

ImportPublicKeyPEMMinimockPreCounter returns the value of KeyProcessorMock.ImportPublicKeyPEM invocations

func (*KeyProcessorMock) MinimockFinish added in v0.6.3

func (m *KeyProcessorMock) MinimockFinish()

MinimockFinish checks that all mocked methods of the interface have been called at least once

func (*KeyProcessorMock) MinimockWait added in v0.6.3

func (m *KeyProcessorMock) MinimockWait(timeout time.Duration)

MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller

func (*KeyProcessorMock) ValidateCallCounters added in v0.6.3

func (m *KeyProcessorMock) ValidateCallCounters()

ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*KeyProcessorMock) Wait added in v0.6.3

func (m *KeyProcessorMock) Wait(timeout time.Duration)

Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller

type KeyProcessorMockExportPrivateKeyPEMExpectation added in v0.7.5

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

func (*KeyProcessorMockExportPrivateKeyPEMExpectation) Return added in v0.7.5

type KeyProcessorMockExportPrivateKeyPEMInput added in v0.7.5

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

type KeyProcessorMockExportPrivateKeyPEMResult added in v0.7.5

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

type KeyProcessorMockExportPublicKeyBinaryExpectation added in v0.7.5

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

func (*KeyProcessorMockExportPublicKeyBinaryExpectation) Return added in v0.7.5

type KeyProcessorMockExportPublicKeyBinaryInput added in v0.7.5

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

type KeyProcessorMockExportPublicKeyBinaryResult added in v0.7.5

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

type KeyProcessorMockExportPublicKeyPEMExpectation added in v0.7.5

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

func (*KeyProcessorMockExportPublicKeyPEMExpectation) Return added in v0.7.5

type KeyProcessorMockExportPublicKeyPEMInput added in v0.7.5

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

type KeyProcessorMockExportPublicKeyPEMResult added in v0.7.5

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

type KeyProcessorMockExtractPublicKeyExpectation added in v0.7.5

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

func (*KeyProcessorMockExtractPublicKeyExpectation) Return added in v0.7.5

type KeyProcessorMockExtractPublicKeyInput added in v0.7.5

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

type KeyProcessorMockExtractPublicKeyResult added in v0.7.5

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

type KeyProcessorMockGeneratePrivateKeyExpectation added in v0.7.5

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

func (*KeyProcessorMockGeneratePrivateKeyExpectation) Return added in v0.7.5

type KeyProcessorMockGeneratePrivateKeyResult added in v0.7.5

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

type KeyProcessorMockImportPrivateKeyPEMExpectation added in v0.7.5

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

func (*KeyProcessorMockImportPrivateKeyPEMExpectation) Return added in v0.7.5

type KeyProcessorMockImportPrivateKeyPEMInput added in v0.7.5

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

type KeyProcessorMockImportPrivateKeyPEMResult added in v0.7.5

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

type KeyProcessorMockImportPublicKeyBinaryExpectation added in v0.7.5

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

func (*KeyProcessorMockImportPublicKeyBinaryExpectation) Return added in v0.7.5

type KeyProcessorMockImportPublicKeyBinaryInput added in v0.7.5

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

type KeyProcessorMockImportPublicKeyBinaryResult added in v0.7.5

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

type KeyProcessorMockImportPublicKeyPEMExpectation added in v0.7.5

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

func (*KeyProcessorMockImportPublicKeyPEMExpectation) Return added in v0.7.5

type KeyProcessorMockImportPublicKeyPEMInput added in v0.7.5

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

type KeyProcessorMockImportPublicKeyPEMResult added in v0.7.5

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

type LogicRunnerMock added in v0.6.3

type LogicRunnerMock struct {
	ExecuteFunc       func(p context.Context, p1 core.Parcel) (r core.Reply, r1 error)
	ExecuteCounter    uint64
	ExecutePreCounter uint64
	ExecuteMock       mLogicRunnerMockExecute

	HandleExecutorResultsMessageFunc       func(p context.Context, p1 core.Parcel) (r core.Reply, r1 error)
	HandleExecutorResultsMessageCounter    uint64
	HandleExecutorResultsMessagePreCounter uint64
	HandleExecutorResultsMessageMock       mLogicRunnerMockHandleExecutorResultsMessage

	HandleValidateCaseBindMessageFunc       func(p context.Context, p1 core.Parcel) (r core.Reply, r1 error)
	HandleValidateCaseBindMessageCounter    uint64
	HandleValidateCaseBindMessagePreCounter uint64
	HandleValidateCaseBindMessageMock       mLogicRunnerMockHandleValidateCaseBindMessage

	HandleValidationResultsMessageFunc       func(p context.Context, p1 core.Parcel) (r core.Reply, r1 error)
	HandleValidationResultsMessageCounter    uint64
	HandleValidationResultsMessagePreCounter uint64
	HandleValidationResultsMessageMock       mLogicRunnerMockHandleValidationResultsMessage

	OnPulseFunc       func(p context.Context, p1 core.Pulse) (r error)
	OnPulseCounter    uint64
	OnPulsePreCounter uint64
	OnPulseMock       mLogicRunnerMockOnPulse
	// contains filtered or unexported fields
}

LogicRunnerMock implements github.com/insolar/insolar/core.LogicRunner

func NewLogicRunnerMock added in v0.6.3

func NewLogicRunnerMock(t minimock.Tester) *LogicRunnerMock

NewLogicRunnerMock returns a mock for github.com/insolar/insolar/core.LogicRunner

func (*LogicRunnerMock) AllMocksCalled added in v0.6.3

func (m *LogicRunnerMock) AllMocksCalled() bool

AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())

func (*LogicRunnerMock) CheckMocksCalled added in v0.6.3

func (m *LogicRunnerMock) CheckMocksCalled()

CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*LogicRunnerMock) Execute added in v0.6.3

func (m *LogicRunnerMock) Execute(p context.Context, p1 core.Parcel) (r core.Reply, r1 error)

Execute implements github.com/insolar/insolar/core.LogicRunner interface

func (*LogicRunnerMock) ExecuteFinished added in v0.7.5

func (m *LogicRunnerMock) ExecuteFinished() bool

ExecuteFinished returns true if mock invocations count is ok

func (*LogicRunnerMock) ExecuteMinimockCounter added in v0.6.3

func (m *LogicRunnerMock) ExecuteMinimockCounter() uint64

ExecuteMinimockCounter returns a count of LogicRunnerMock.ExecuteFunc invocations

func (*LogicRunnerMock) ExecuteMinimockPreCounter added in v0.6.3

func (m *LogicRunnerMock) ExecuteMinimockPreCounter() uint64

ExecuteMinimockPreCounter returns the value of LogicRunnerMock.Execute invocations

func (*LogicRunnerMock) Finish added in v0.6.3

func (m *LogicRunnerMock) Finish()

Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller

func (*LogicRunnerMock) HandleExecutorResultsMessage added in v0.7.5

func (m *LogicRunnerMock) HandleExecutorResultsMessage(p context.Context, p1 core.Parcel) (r core.Reply, r1 error)

HandleExecutorResultsMessage implements github.com/insolar/insolar/core.LogicRunner interface

func (*LogicRunnerMock) HandleExecutorResultsMessageFinished added in v0.7.5

func (m *LogicRunnerMock) HandleExecutorResultsMessageFinished() bool

HandleExecutorResultsMessageFinished returns true if mock invocations count is ok

func (*LogicRunnerMock) HandleExecutorResultsMessageMinimockCounter added in v0.7.5

func (m *LogicRunnerMock) HandleExecutorResultsMessageMinimockCounter() uint64

HandleExecutorResultsMessageMinimockCounter returns a count of LogicRunnerMock.HandleExecutorResultsMessageFunc invocations

func (*LogicRunnerMock) HandleExecutorResultsMessageMinimockPreCounter added in v0.7.5

func (m *LogicRunnerMock) HandleExecutorResultsMessageMinimockPreCounter() uint64

HandleExecutorResultsMessageMinimockPreCounter returns the value of LogicRunnerMock.HandleExecutorResultsMessage invocations

func (*LogicRunnerMock) HandleValidateCaseBindMessage added in v0.7.5

func (m *LogicRunnerMock) HandleValidateCaseBindMessage(p context.Context, p1 core.Parcel) (r core.Reply, r1 error)

HandleValidateCaseBindMessage implements github.com/insolar/insolar/core.LogicRunner interface

func (*LogicRunnerMock) HandleValidateCaseBindMessageFinished added in v0.7.5

func (m *LogicRunnerMock) HandleValidateCaseBindMessageFinished() bool

HandleValidateCaseBindMessageFinished returns true if mock invocations count is ok

func (*LogicRunnerMock) HandleValidateCaseBindMessageMinimockCounter added in v0.7.5

func (m *LogicRunnerMock) HandleValidateCaseBindMessageMinimockCounter() uint64

HandleValidateCaseBindMessageMinimockCounter returns a count of LogicRunnerMock.HandleValidateCaseBindMessageFunc invocations

func (*LogicRunnerMock) HandleValidateCaseBindMessageMinimockPreCounter added in v0.7.5

func (m *LogicRunnerMock) HandleValidateCaseBindMessageMinimockPreCounter() uint64

HandleValidateCaseBindMessageMinimockPreCounter returns the value of LogicRunnerMock.HandleValidateCaseBindMessage invocations

func (*LogicRunnerMock) HandleValidationResultsMessage added in v0.7.5

func (m *LogicRunnerMock) HandleValidationResultsMessage(p context.Context, p1 core.Parcel) (r core.Reply, r1 error)

HandleValidationResultsMessage implements github.com/insolar/insolar/core.LogicRunner interface

func (*LogicRunnerMock) HandleValidationResultsMessageFinished added in v0.7.5

func (m *LogicRunnerMock) HandleValidationResultsMessageFinished() bool

HandleValidationResultsMessageFinished returns true if mock invocations count is ok

func (*LogicRunnerMock) HandleValidationResultsMessageMinimockCounter added in v0.7.5

func (m *LogicRunnerMock) HandleValidationResultsMessageMinimockCounter() uint64

HandleValidationResultsMessageMinimockCounter returns a count of LogicRunnerMock.HandleValidationResultsMessageFunc invocations

func (*LogicRunnerMock) HandleValidationResultsMessageMinimockPreCounter added in v0.7.5

func (m *LogicRunnerMock) HandleValidationResultsMessageMinimockPreCounter() uint64

HandleValidationResultsMessageMinimockPreCounter returns the value of LogicRunnerMock.HandleValidationResultsMessage invocations

func (*LogicRunnerMock) MinimockFinish added in v0.6.3

func (m *LogicRunnerMock) MinimockFinish()

MinimockFinish checks that all mocked methods of the interface have been called at least once

func (*LogicRunnerMock) MinimockWait added in v0.6.3

func (m *LogicRunnerMock) MinimockWait(timeout time.Duration)

MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller

func (*LogicRunnerMock) OnPulse added in v0.6.3

func (m *LogicRunnerMock) OnPulse(p context.Context, p1 core.Pulse) (r error)

OnPulse implements github.com/insolar/insolar/core.LogicRunner interface

func (*LogicRunnerMock) OnPulseFinished added in v0.7.5

func (m *LogicRunnerMock) OnPulseFinished() bool

OnPulseFinished returns true if mock invocations count is ok

func (*LogicRunnerMock) OnPulseMinimockCounter added in v0.6.3

func (m *LogicRunnerMock) OnPulseMinimockCounter() uint64

OnPulseMinimockCounter returns a count of LogicRunnerMock.OnPulseFunc invocations

func (*LogicRunnerMock) OnPulseMinimockPreCounter added in v0.6.3

func (m *LogicRunnerMock) OnPulseMinimockPreCounter() uint64

OnPulseMinimockPreCounter returns the value of LogicRunnerMock.OnPulse invocations

func (*LogicRunnerMock) ValidateCallCounters added in v0.6.3

func (m *LogicRunnerMock) ValidateCallCounters()

ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*LogicRunnerMock) Wait added in v0.6.3

func (m *LogicRunnerMock) Wait(timeout time.Duration)

Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller

type LogicRunnerMockExecuteExpectation added in v0.7.5

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

func (*LogicRunnerMockExecuteExpectation) Return added in v0.7.5

type LogicRunnerMockExecuteInput added in v0.7.5

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

type LogicRunnerMockExecuteResult added in v0.7.5

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

type LogicRunnerMockHandleExecutorResultsMessageExpectation added in v0.7.5

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

func (*LogicRunnerMockHandleExecutorResultsMessageExpectation) Return added in v0.7.5

type LogicRunnerMockHandleExecutorResultsMessageInput added in v0.7.5

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

type LogicRunnerMockHandleExecutorResultsMessageResult added in v0.7.5

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

type LogicRunnerMockHandleValidateCaseBindMessageExpectation added in v0.7.5

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

func (*LogicRunnerMockHandleValidateCaseBindMessageExpectation) Return added in v0.7.5

type LogicRunnerMockHandleValidateCaseBindMessageInput added in v0.7.5

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

type LogicRunnerMockHandleValidateCaseBindMessageResult added in v0.7.5

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

type LogicRunnerMockHandleValidationResultsMessageExpectation added in v0.7.5

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

func (*LogicRunnerMockHandleValidationResultsMessageExpectation) Return added in v0.7.5

type LogicRunnerMockHandleValidationResultsMessageInput added in v0.7.5

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

type LogicRunnerMockHandleValidationResultsMessageResult added in v0.7.5

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

type LogicRunnerMockOnPulseExpectation added in v0.7.5

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

func (*LogicRunnerMockOnPulseExpectation) Return added in v0.7.5

type LogicRunnerMockOnPulseInput added in v0.7.5

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

type LogicRunnerMockOnPulseResult added in v0.7.5

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

type MachineLogicExecutorMock added in v0.8.0

type MachineLogicExecutorMock struct {
	CallConstructorFunc       func(p context.Context, p1 *core.LogicCallContext, p2 core.RecordRef, p3 string, p4 core.Arguments) (r []byte, r1 error)
	CallConstructorCounter    uint64
	CallConstructorPreCounter uint64
	CallConstructorMock       mMachineLogicExecutorMockCallConstructor

	CallMethodFunc       func(p context.Context, p1 *core.LogicCallContext, p2 core.RecordRef, p3 []byte, p4 string, p5 core.Arguments) (r []byte, r1 core.Arguments, r2 error)
	CallMethodCounter    uint64
	CallMethodPreCounter uint64
	CallMethodMock       mMachineLogicExecutorMockCallMethod

	StopFunc       func() (r error)
	StopCounter    uint64
	StopPreCounter uint64
	StopMock       mMachineLogicExecutorMockStop
	// contains filtered or unexported fields
}

MachineLogicExecutorMock implements github.com/insolar/insolar/core.MachineLogicExecutor

func NewMachineLogicExecutorMock added in v0.8.0

func NewMachineLogicExecutorMock(t minimock.Tester) *MachineLogicExecutorMock

NewMachineLogicExecutorMock returns a mock for github.com/insolar/insolar/core.MachineLogicExecutor

func (*MachineLogicExecutorMock) AllMocksCalled added in v0.8.0

func (m *MachineLogicExecutorMock) AllMocksCalled() bool

AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())

func (*MachineLogicExecutorMock) CallConstructor added in v0.8.0

func (m *MachineLogicExecutorMock) CallConstructor(p context.Context, p1 *core.LogicCallContext, p2 core.RecordRef, p3 string, p4 core.Arguments) (r []byte, r1 error)

CallConstructor implements github.com/insolar/insolar/core.MachineLogicExecutor interface

func (*MachineLogicExecutorMock) CallConstructorFinished added in v0.8.0

func (m *MachineLogicExecutorMock) CallConstructorFinished() bool

CallConstructorFinished returns true if mock invocations count is ok

func (*MachineLogicExecutorMock) CallConstructorMinimockCounter added in v0.8.0

func (m *MachineLogicExecutorMock) CallConstructorMinimockCounter() uint64

CallConstructorMinimockCounter returns a count of MachineLogicExecutorMock.CallConstructorFunc invocations

func (*MachineLogicExecutorMock) CallConstructorMinimockPreCounter added in v0.8.0

func (m *MachineLogicExecutorMock) CallConstructorMinimockPreCounter() uint64

CallConstructorMinimockPreCounter returns the value of MachineLogicExecutorMock.CallConstructor invocations

func (*MachineLogicExecutorMock) CallMethod added in v0.8.0

CallMethod implements github.com/insolar/insolar/core.MachineLogicExecutor interface

func (*MachineLogicExecutorMock) CallMethodFinished added in v0.8.0

func (m *MachineLogicExecutorMock) CallMethodFinished() bool

CallMethodFinished returns true if mock invocations count is ok

func (*MachineLogicExecutorMock) CallMethodMinimockCounter added in v0.8.0

func (m *MachineLogicExecutorMock) CallMethodMinimockCounter() uint64

CallMethodMinimockCounter returns a count of MachineLogicExecutorMock.CallMethodFunc invocations

func (*MachineLogicExecutorMock) CallMethodMinimockPreCounter added in v0.8.0

func (m *MachineLogicExecutorMock) CallMethodMinimockPreCounter() uint64

CallMethodMinimockPreCounter returns the value of MachineLogicExecutorMock.CallMethod invocations

func (*MachineLogicExecutorMock) CheckMocksCalled added in v0.8.0

func (m *MachineLogicExecutorMock) CheckMocksCalled()

CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*MachineLogicExecutorMock) Finish added in v0.8.0

func (m *MachineLogicExecutorMock) Finish()

Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller

func (*MachineLogicExecutorMock) MinimockFinish added in v0.8.0

func (m *MachineLogicExecutorMock) MinimockFinish()

MinimockFinish checks that all mocked methods of the interface have been called at least once

func (*MachineLogicExecutorMock) MinimockWait added in v0.8.0

func (m *MachineLogicExecutorMock) MinimockWait(timeout time.Duration)

MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller

func (*MachineLogicExecutorMock) Stop added in v0.8.0

func (m *MachineLogicExecutorMock) Stop() (r error)

Stop implements github.com/insolar/insolar/core.MachineLogicExecutor interface

func (*MachineLogicExecutorMock) StopFinished added in v0.8.0

func (m *MachineLogicExecutorMock) StopFinished() bool

StopFinished returns true if mock invocations count is ok

func (*MachineLogicExecutorMock) StopMinimockCounter added in v0.8.0

func (m *MachineLogicExecutorMock) StopMinimockCounter() uint64

StopMinimockCounter returns a count of MachineLogicExecutorMock.StopFunc invocations

func (*MachineLogicExecutorMock) StopMinimockPreCounter added in v0.8.0

func (m *MachineLogicExecutorMock) StopMinimockPreCounter() uint64

StopMinimockPreCounter returns the value of MachineLogicExecutorMock.Stop invocations

func (*MachineLogicExecutorMock) ValidateCallCounters added in v0.8.0

func (m *MachineLogicExecutorMock) ValidateCallCounters()

ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*MachineLogicExecutorMock) Wait added in v0.8.0

func (m *MachineLogicExecutorMock) Wait(timeout time.Duration)

Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller

type MachineLogicExecutorMockCallConstructorExpectation added in v0.8.0

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

func (*MachineLogicExecutorMockCallConstructorExpectation) Return added in v0.8.0

type MachineLogicExecutorMockCallConstructorInput added in v0.8.0

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

type MachineLogicExecutorMockCallConstructorResult added in v0.8.0

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

type MachineLogicExecutorMockCallMethodExpectation added in v0.8.0

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

func (*MachineLogicExecutorMockCallMethodExpectation) Return added in v0.8.0

type MachineLogicExecutorMockCallMethodInput added in v0.8.0

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

type MachineLogicExecutorMockCallMethodResult added in v0.8.0

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

type MachineLogicExecutorMockStopExpectation added in v0.8.0

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

func (*MachineLogicExecutorMockStopExpectation) Return added in v0.8.0

type MachineLogicExecutorMockStopResult added in v0.8.0

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

type MessageBusMock added in v0.6.3

type MessageBusMock struct {
	MustRegisterFunc       func(p core.MessageType, p1 core.MessageHandler)
	MustRegisterCounter    uint64
	MustRegisterPreCounter uint64
	MustRegisterMock       mMessageBusMockMustRegister

	NewPlayerFunc       func(p context.Context, p1 io.Reader) (r core.MessageBus, r1 error)
	NewPlayerCounter    uint64
	NewPlayerPreCounter uint64
	NewPlayerMock       mMessageBusMockNewPlayer

	NewRecorderFunc       func(p context.Context, p1 core.Pulse) (r core.MessageBus, r1 error)
	NewRecorderCounter    uint64
	NewRecorderPreCounter uint64
	NewRecorderMock       mMessageBusMockNewRecorder

	OnPulseFunc       func(p context.Context, p1 core.Pulse) (r error)
	OnPulseCounter    uint64
	OnPulsePreCounter uint64
	OnPulseMock       mMessageBusMockOnPulse

	RegisterFunc       func(p core.MessageType, p1 core.MessageHandler) (r error)
	RegisterCounter    uint64
	RegisterPreCounter uint64
	RegisterMock       mMessageBusMockRegister

	SendFunc       func(p context.Context, p1 core.Message, p2 *core.MessageSendOptions) (r core.Reply, r1 error)
	SendCounter    uint64
	SendPreCounter uint64
	SendMock       mMessageBusMockSend
	// contains filtered or unexported fields
}

MessageBusMock implements github.com/insolar/insolar/core.MessageBus

func NewMessageBusMock added in v0.6.3

func NewMessageBusMock(t minimock.Tester) *MessageBusMock

NewMessageBusMock returns a mock for github.com/insolar/insolar/core.MessageBus

func (*MessageBusMock) AllMocksCalled added in v0.6.3

func (m *MessageBusMock) AllMocksCalled() bool

AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())

func (*MessageBusMock) CheckMocksCalled added in v0.6.3

func (m *MessageBusMock) CheckMocksCalled()

CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*MessageBusMock) Finish added in v0.6.3

func (m *MessageBusMock) Finish()

Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller

func (*MessageBusMock) MinimockFinish added in v0.6.3

func (m *MessageBusMock) MinimockFinish()

MinimockFinish checks that all mocked methods of the interface have been called at least once

func (*MessageBusMock) MinimockWait added in v0.6.3

func (m *MessageBusMock) MinimockWait(timeout time.Duration)

MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller

func (*MessageBusMock) MustRegister added in v0.6.3

func (m *MessageBusMock) MustRegister(p core.MessageType, p1 core.MessageHandler)

MustRegister implements github.com/insolar/insolar/core.MessageBus interface

func (*MessageBusMock) MustRegisterFinished added in v0.7.5

func (m *MessageBusMock) MustRegisterFinished() bool

MustRegisterFinished returns true if mock invocations count is ok

func (*MessageBusMock) MustRegisterMinimockCounter added in v0.6.3

func (m *MessageBusMock) MustRegisterMinimockCounter() uint64

MustRegisterMinimockCounter returns a count of MessageBusMock.MustRegisterFunc invocations

func (*MessageBusMock) MustRegisterMinimockPreCounter added in v0.6.3

func (m *MessageBusMock) MustRegisterMinimockPreCounter() uint64

MustRegisterMinimockPreCounter returns the value of MessageBusMock.MustRegister invocations

func (*MessageBusMock) NewPlayer added in v0.6.3

func (m *MessageBusMock) NewPlayer(p context.Context, p1 io.Reader) (r core.MessageBus, r1 error)

NewPlayer implements github.com/insolar/insolar/core.MessageBus interface

func (*MessageBusMock) NewPlayerFinished added in v0.7.5

func (m *MessageBusMock) NewPlayerFinished() bool

NewPlayerFinished returns true if mock invocations count is ok

func (*MessageBusMock) NewPlayerMinimockCounter added in v0.6.3

func (m *MessageBusMock) NewPlayerMinimockCounter() uint64

NewPlayerMinimockCounter returns a count of MessageBusMock.NewPlayerFunc invocations

func (*MessageBusMock) NewPlayerMinimockPreCounter added in v0.6.3

func (m *MessageBusMock) NewPlayerMinimockPreCounter() uint64

NewPlayerMinimockPreCounter returns the value of MessageBusMock.NewPlayer invocations

func (*MessageBusMock) NewRecorder added in v0.6.3

func (m *MessageBusMock) NewRecorder(p context.Context, p1 core.Pulse) (r core.MessageBus, r1 error)

NewRecorder implements github.com/insolar/insolar/core.MessageBus interface

func (*MessageBusMock) NewRecorderFinished added in v0.7.5

func (m *MessageBusMock) NewRecorderFinished() bool

NewRecorderFinished returns true if mock invocations count is ok

func (*MessageBusMock) NewRecorderMinimockCounter added in v0.6.3

func (m *MessageBusMock) NewRecorderMinimockCounter() uint64

NewRecorderMinimockCounter returns a count of MessageBusMock.NewRecorderFunc invocations

func (*MessageBusMock) NewRecorderMinimockPreCounter added in v0.6.3

func (m *MessageBusMock) NewRecorderMinimockPreCounter() uint64

NewRecorderMinimockPreCounter returns the value of MessageBusMock.NewRecorder invocations

func (*MessageBusMock) OnPulse added in v0.7.5

func (m *MessageBusMock) OnPulse(p context.Context, p1 core.Pulse) (r error)

OnPulse implements github.com/insolar/insolar/core.MessageBus interface

func (*MessageBusMock) OnPulseFinished added in v0.7.5

func (m *MessageBusMock) OnPulseFinished() bool

OnPulseFinished returns true if mock invocations count is ok

func (*MessageBusMock) OnPulseMinimockCounter added in v0.7.5

func (m *MessageBusMock) OnPulseMinimockCounter() uint64

OnPulseMinimockCounter returns a count of MessageBusMock.OnPulseFunc invocations

func (*MessageBusMock) OnPulseMinimockPreCounter added in v0.7.5

func (m *MessageBusMock) OnPulseMinimockPreCounter() uint64

OnPulseMinimockPreCounter returns the value of MessageBusMock.OnPulse invocations

func (*MessageBusMock) Register added in v0.6.3

func (m *MessageBusMock) Register(p core.MessageType, p1 core.MessageHandler) (r error)

Register implements github.com/insolar/insolar/core.MessageBus interface

func (*MessageBusMock) RegisterFinished added in v0.7.5

func (m *MessageBusMock) RegisterFinished() bool

RegisterFinished returns true if mock invocations count is ok

func (*MessageBusMock) RegisterMinimockCounter added in v0.6.3

func (m *MessageBusMock) RegisterMinimockCounter() uint64

RegisterMinimockCounter returns a count of MessageBusMock.RegisterFunc invocations

func (*MessageBusMock) RegisterMinimockPreCounter added in v0.6.3

func (m *MessageBusMock) RegisterMinimockPreCounter() uint64

RegisterMinimockPreCounter returns the value of MessageBusMock.Register invocations

func (*MessageBusMock) Send added in v0.6.3

Send implements github.com/insolar/insolar/core.MessageBus interface

func (*MessageBusMock) SendFinished added in v0.7.5

func (m *MessageBusMock) SendFinished() bool

SendFinished returns true if mock invocations count is ok

func (*MessageBusMock) SendMinimockCounter added in v0.6.3

func (m *MessageBusMock) SendMinimockCounter() uint64

SendMinimockCounter returns a count of MessageBusMock.SendFunc invocations

func (*MessageBusMock) SendMinimockPreCounter added in v0.6.3

func (m *MessageBusMock) SendMinimockPreCounter() uint64

SendMinimockPreCounter returns the value of MessageBusMock.Send invocations

func (*MessageBusMock) ValidateCallCounters added in v0.6.3

func (m *MessageBusMock) ValidateCallCounters()

ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*MessageBusMock) Wait added in v0.6.3

func (m *MessageBusMock) Wait(timeout time.Duration)

Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller

type MessageBusMockMustRegisterExpectation added in v0.7.5

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

type MessageBusMockMustRegisterInput added in v0.7.5

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

type MessageBusMockNewPlayerExpectation added in v0.7.5

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

func (*MessageBusMockNewPlayerExpectation) Return added in v0.7.5

type MessageBusMockNewPlayerInput added in v0.7.5

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

type MessageBusMockNewPlayerResult added in v0.7.5

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

type MessageBusMockNewRecorderExpectation added in v0.7.5

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

func (*MessageBusMockNewRecorderExpectation) Return added in v0.7.5

type MessageBusMockNewRecorderInput added in v0.7.5

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

type MessageBusMockNewRecorderResult added in v0.7.5

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

type MessageBusMockOnPulseExpectation added in v0.7.5

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

func (*MessageBusMockOnPulseExpectation) Return added in v0.7.5

type MessageBusMockOnPulseInput added in v0.7.5

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

type MessageBusMockOnPulseResult added in v0.7.5

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

type MessageBusMockRegisterExpectation added in v0.7.5

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

func (*MessageBusMockRegisterExpectation) Return added in v0.7.5

type MessageBusMockRegisterInput added in v0.7.5

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

type MessageBusMockRegisterResult added in v0.7.5

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

type MessageBusMockSendExpectation added in v0.7.5

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

func (*MessageBusMockSendExpectation) Return added in v0.7.5

func (e *MessageBusMockSendExpectation) Return(r core.Reply, r1 error)

type MessageBusMockSendInput added in v0.7.5

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

type MessageBusMockSendResult added in v0.7.5

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

type NetworkCoordinatorMock added in v0.6.3

type NetworkCoordinatorMock struct {
	GetCertFunc       func(p context.Context, p1 *core.RecordRef) (r core.Certificate, r1 error)
	GetCertCounter    uint64
	GetCertPreCounter uint64
	GetCertMock       mNetworkCoordinatorMockGetCert

	IsStartedFunc       func() (r bool)
	IsStartedCounter    uint64
	IsStartedPreCounter uint64
	IsStartedMock       mNetworkCoordinatorMockIsStarted

	SetPulseFunc       func(p context.Context, p1 core.Pulse) (r error)
	SetPulseCounter    uint64
	SetPulsePreCounter uint64
	SetPulseMock       mNetworkCoordinatorMockSetPulse

	ValidateCertFunc       func(p context.Context, p1 core.AuthorizationCertificate) (r bool, r1 error)
	ValidateCertCounter    uint64
	ValidateCertPreCounter uint64
	ValidateCertMock       mNetworkCoordinatorMockValidateCert
	// contains filtered or unexported fields
}

NetworkCoordinatorMock implements github.com/insolar/insolar/core.NetworkCoordinator

func NewNetworkCoordinatorMock added in v0.6.3

func NewNetworkCoordinatorMock(t minimock.Tester) *NetworkCoordinatorMock

NewNetworkCoordinatorMock returns a mock for github.com/insolar/insolar/core.NetworkCoordinator

func (*NetworkCoordinatorMock) AllMocksCalled added in v0.6.3

func (m *NetworkCoordinatorMock) AllMocksCalled() bool

AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())

func (*NetworkCoordinatorMock) CheckMocksCalled added in v0.6.3

func (m *NetworkCoordinatorMock) CheckMocksCalled()

CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*NetworkCoordinatorMock) Finish added in v0.6.3

func (m *NetworkCoordinatorMock) Finish()

Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller

func (*NetworkCoordinatorMock) GetCert added in v0.6.3

GetCert implements github.com/insolar/insolar/core.NetworkCoordinator interface

func (*NetworkCoordinatorMock) GetCertFinished added in v0.7.5

func (m *NetworkCoordinatorMock) GetCertFinished() bool

GetCertFinished returns true if mock invocations count is ok

func (*NetworkCoordinatorMock) GetCertMinimockCounter added in v0.6.3

func (m *NetworkCoordinatorMock) GetCertMinimockCounter() uint64

GetCertMinimockCounter returns a count of NetworkCoordinatorMock.GetCertFunc invocations

func (*NetworkCoordinatorMock) GetCertMinimockPreCounter added in v0.6.3

func (m *NetworkCoordinatorMock) GetCertMinimockPreCounter() uint64

GetCertMinimockPreCounter returns the value of NetworkCoordinatorMock.GetCert invocations

func (*NetworkCoordinatorMock) IsStarted added in v0.7.5

func (m *NetworkCoordinatorMock) IsStarted() (r bool)

IsStarted implements github.com/insolar/insolar/core.NetworkCoordinator interface

func (*NetworkCoordinatorMock) IsStartedFinished added in v0.7.5

func (m *NetworkCoordinatorMock) IsStartedFinished() bool

IsStartedFinished returns true if mock invocations count is ok

func (*NetworkCoordinatorMock) IsStartedMinimockCounter added in v0.7.5

func (m *NetworkCoordinatorMock) IsStartedMinimockCounter() uint64

IsStartedMinimockCounter returns a count of NetworkCoordinatorMock.IsStartedFunc invocations

func (*NetworkCoordinatorMock) IsStartedMinimockPreCounter added in v0.7.5

func (m *NetworkCoordinatorMock) IsStartedMinimockPreCounter() uint64

IsStartedMinimockPreCounter returns the value of NetworkCoordinatorMock.IsStarted invocations

func (*NetworkCoordinatorMock) MinimockFinish added in v0.6.3

func (m *NetworkCoordinatorMock) MinimockFinish()

MinimockFinish checks that all mocked methods of the interface have been called at least once

func (*NetworkCoordinatorMock) MinimockWait added in v0.6.3

func (m *NetworkCoordinatorMock) MinimockWait(timeout time.Duration)

MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller

func (*NetworkCoordinatorMock) SetPulse added in v0.6.3

func (m *NetworkCoordinatorMock) SetPulse(p context.Context, p1 core.Pulse) (r error)

SetPulse implements github.com/insolar/insolar/core.NetworkCoordinator interface

func (*NetworkCoordinatorMock) SetPulseFinished added in v0.7.5

func (m *NetworkCoordinatorMock) SetPulseFinished() bool

SetPulseFinished returns true if mock invocations count is ok

func (*NetworkCoordinatorMock) SetPulseMinimockCounter added in v0.6.3

func (m *NetworkCoordinatorMock) SetPulseMinimockCounter() uint64

SetPulseMinimockCounter returns a count of NetworkCoordinatorMock.SetPulseFunc invocations

func (*NetworkCoordinatorMock) SetPulseMinimockPreCounter added in v0.6.3

func (m *NetworkCoordinatorMock) SetPulseMinimockPreCounter() uint64

SetPulseMinimockPreCounter returns the value of NetworkCoordinatorMock.SetPulse invocations

func (*NetworkCoordinatorMock) ValidateCallCounters added in v0.6.3

func (m *NetworkCoordinatorMock) ValidateCallCounters()

ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*NetworkCoordinatorMock) ValidateCert added in v0.6.3

ValidateCert implements github.com/insolar/insolar/core.NetworkCoordinator interface

func (*NetworkCoordinatorMock) ValidateCertFinished added in v0.7.5

func (m *NetworkCoordinatorMock) ValidateCertFinished() bool

ValidateCertFinished returns true if mock invocations count is ok

func (*NetworkCoordinatorMock) ValidateCertMinimockCounter added in v0.6.3

func (m *NetworkCoordinatorMock) ValidateCertMinimockCounter() uint64

ValidateCertMinimockCounter returns a count of NetworkCoordinatorMock.ValidateCertFunc invocations

func (*NetworkCoordinatorMock) ValidateCertMinimockPreCounter added in v0.6.3

func (m *NetworkCoordinatorMock) ValidateCertMinimockPreCounter() uint64

ValidateCertMinimockPreCounter returns the value of NetworkCoordinatorMock.ValidateCert invocations

func (*NetworkCoordinatorMock) Wait added in v0.6.3

func (m *NetworkCoordinatorMock) Wait(timeout time.Duration)

Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller

type NetworkCoordinatorMockGetCertExpectation added in v0.7.5

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

func (*NetworkCoordinatorMockGetCertExpectation) Return added in v0.7.5

type NetworkCoordinatorMockGetCertInput added in v0.7.5

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

type NetworkCoordinatorMockGetCertResult added in v0.7.5

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

type NetworkCoordinatorMockIsStartedExpectation added in v0.7.5

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

func (*NetworkCoordinatorMockIsStartedExpectation) Return added in v0.7.5

type NetworkCoordinatorMockIsStartedResult added in v0.7.5

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

type NetworkCoordinatorMockSetPulseExpectation added in v0.7.5

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

func (*NetworkCoordinatorMockSetPulseExpectation) Return added in v0.7.5

type NetworkCoordinatorMockSetPulseInput added in v0.7.5

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

type NetworkCoordinatorMockSetPulseResult added in v0.7.5

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

type NetworkCoordinatorMockValidateCertExpectation added in v0.7.5

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

func (*NetworkCoordinatorMockValidateCertExpectation) Return added in v0.7.5

type NetworkCoordinatorMockValidateCertInput added in v0.7.5

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

type NetworkCoordinatorMockValidateCertResult added in v0.7.5

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

type NetworkSwitcherMock added in v0.7.5

type NetworkSwitcherMock struct {
	GetStateFunc       func() (r core.NetworkState)
	GetStateCounter    uint64
	GetStatePreCounter uint64
	GetStateMock       mNetworkSwitcherMockGetState

	OnPulseFunc       func(p context.Context, p1 core.Pulse) (r error)
	OnPulseCounter    uint64
	OnPulsePreCounter uint64
	OnPulseMock       mNetworkSwitcherMockOnPulse
	// contains filtered or unexported fields
}

NetworkSwitcherMock implements github.com/insolar/insolar/core.NetworkSwitcher

func NewNetworkSwitcherMock added in v0.7.5

func NewNetworkSwitcherMock(t minimock.Tester) *NetworkSwitcherMock

NewNetworkSwitcherMock returns a mock for github.com/insolar/insolar/core.NetworkSwitcher

func (*NetworkSwitcherMock) AllMocksCalled added in v0.7.5

func (m *NetworkSwitcherMock) AllMocksCalled() bool

AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())

func (*NetworkSwitcherMock) CheckMocksCalled added in v0.7.5

func (m *NetworkSwitcherMock) CheckMocksCalled()

CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*NetworkSwitcherMock) Finish added in v0.7.5

func (m *NetworkSwitcherMock) Finish()

Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller

func (*NetworkSwitcherMock) GetState added in v0.7.5

func (m *NetworkSwitcherMock) GetState() (r core.NetworkState)

GetState implements github.com/insolar/insolar/core.NetworkSwitcher interface

func (*NetworkSwitcherMock) GetStateFinished added in v0.7.5

func (m *NetworkSwitcherMock) GetStateFinished() bool

GetStateFinished returns true if mock invocations count is ok

func (*NetworkSwitcherMock) GetStateMinimockCounter added in v0.7.5

func (m *NetworkSwitcherMock) GetStateMinimockCounter() uint64

GetStateMinimockCounter returns a count of NetworkSwitcherMock.GetStateFunc invocations

func (*NetworkSwitcherMock) GetStateMinimockPreCounter added in v0.7.5

func (m *NetworkSwitcherMock) GetStateMinimockPreCounter() uint64

GetStateMinimockPreCounter returns the value of NetworkSwitcherMock.GetState invocations

func (*NetworkSwitcherMock) MinimockFinish added in v0.7.5

func (m *NetworkSwitcherMock) MinimockFinish()

MinimockFinish checks that all mocked methods of the interface have been called at least once

func (*NetworkSwitcherMock) MinimockWait added in v0.7.5

func (m *NetworkSwitcherMock) MinimockWait(timeout time.Duration)

MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller

func (*NetworkSwitcherMock) OnPulse added in v0.7.5

func (m *NetworkSwitcherMock) OnPulse(p context.Context, p1 core.Pulse) (r error)

OnPulse implements github.com/insolar/insolar/core.NetworkSwitcher interface

func (*NetworkSwitcherMock) OnPulseFinished added in v0.7.5

func (m *NetworkSwitcherMock) OnPulseFinished() bool

OnPulseFinished returns true if mock invocations count is ok

func (*NetworkSwitcherMock) OnPulseMinimockCounter added in v0.7.5

func (m *NetworkSwitcherMock) OnPulseMinimockCounter() uint64

OnPulseMinimockCounter returns a count of NetworkSwitcherMock.OnPulseFunc invocations

func (*NetworkSwitcherMock) OnPulseMinimockPreCounter added in v0.7.5

func (m *NetworkSwitcherMock) OnPulseMinimockPreCounter() uint64

OnPulseMinimockPreCounter returns the value of NetworkSwitcherMock.OnPulse invocations

func (*NetworkSwitcherMock) ValidateCallCounters added in v0.7.5

func (m *NetworkSwitcherMock) ValidateCallCounters()

ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*NetworkSwitcherMock) Wait added in v0.7.5

func (m *NetworkSwitcherMock) Wait(timeout time.Duration)

Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller

type NetworkSwitcherMockGetStateExpectation added in v0.7.5

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

func (*NetworkSwitcherMockGetStateExpectation) Return added in v0.7.5

type NetworkSwitcherMockGetStateResult added in v0.7.5

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

type NetworkSwitcherMockOnPulseExpectation added in v0.7.5

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

func (*NetworkSwitcherMockOnPulseExpectation) Return added in v0.7.5

type NetworkSwitcherMockOnPulseInput added in v0.7.5

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

type NetworkSwitcherMockOnPulseResult added in v0.7.5

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

type ObjectDescriptorMock added in v0.7.5

type ObjectDescriptorMock struct {
	ChildPointerFunc       func() (r *core.RecordID)
	ChildPointerCounter    uint64
	ChildPointerPreCounter uint64
	ChildPointerMock       mObjectDescriptorMockChildPointer

	ChildrenFunc       func(p *core.PulseNumber) (r core.RefIterator, r1 error)
	ChildrenCounter    uint64
	ChildrenPreCounter uint64
	ChildrenMock       mObjectDescriptorMockChildren

	CodeFunc       func() (r *core.RecordRef, r1 error)
	CodeCounter    uint64
	CodePreCounter uint64
	CodeMock       mObjectDescriptorMockCode

	HeadRefFunc       func() (r *core.RecordRef)
	HeadRefCounter    uint64
	HeadRefPreCounter uint64
	HeadRefMock       mObjectDescriptorMockHeadRef

	IsPrototypeFunc       func() (r bool)
	IsPrototypeCounter    uint64
	IsPrototypePreCounter uint64
	IsPrototypeMock       mObjectDescriptorMockIsPrototype

	MemoryFunc       func() (r []byte)
	MemoryCounter    uint64
	MemoryPreCounter uint64
	MemoryMock       mObjectDescriptorMockMemory

	ParentFunc       func() (r *core.RecordRef)
	ParentCounter    uint64
	ParentPreCounter uint64
	ParentMock       mObjectDescriptorMockParent

	PrototypeFunc       func() (r *core.RecordRef, r1 error)
	PrototypeCounter    uint64
	PrototypePreCounter uint64
	PrototypeMock       mObjectDescriptorMockPrototype

	StateIDFunc       func() (r *core.RecordID)
	StateIDCounter    uint64
	StateIDPreCounter uint64
	StateIDMock       mObjectDescriptorMockStateID
	// contains filtered or unexported fields
}

ObjectDescriptorMock implements github.com/insolar/insolar/core.ObjectDescriptor

func NewObjectDescriptorMock added in v0.7.5

func NewObjectDescriptorMock(t minimock.Tester) *ObjectDescriptorMock

NewObjectDescriptorMock returns a mock for github.com/insolar/insolar/core.ObjectDescriptor

func (*ObjectDescriptorMock) AllMocksCalled added in v0.7.5

func (m *ObjectDescriptorMock) AllMocksCalled() bool

AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())

func (*ObjectDescriptorMock) CheckMocksCalled added in v0.7.5

func (m *ObjectDescriptorMock) CheckMocksCalled()

CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*ObjectDescriptorMock) ChildPointer added in v0.7.5

func (m *ObjectDescriptorMock) ChildPointer() (r *core.RecordID)

ChildPointer implements github.com/insolar/insolar/core.ObjectDescriptor interface

func (*ObjectDescriptorMock) ChildPointerFinished added in v0.7.5

func (m *ObjectDescriptorMock) ChildPointerFinished() bool

ChildPointerFinished returns true if mock invocations count is ok

func (*ObjectDescriptorMock) ChildPointerMinimockCounter added in v0.7.5

func (m *ObjectDescriptorMock) ChildPointerMinimockCounter() uint64

ChildPointerMinimockCounter returns a count of ObjectDescriptorMock.ChildPointerFunc invocations

func (*ObjectDescriptorMock) ChildPointerMinimockPreCounter added in v0.7.5

func (m *ObjectDescriptorMock) ChildPointerMinimockPreCounter() uint64

ChildPointerMinimockPreCounter returns the value of ObjectDescriptorMock.ChildPointer invocations

func (*ObjectDescriptorMock) Children added in v0.7.5

func (m *ObjectDescriptorMock) Children(p *core.PulseNumber) (r core.RefIterator, r1 error)

Children implements github.com/insolar/insolar/core.ObjectDescriptor interface

func (*ObjectDescriptorMock) ChildrenFinished added in v0.7.5

func (m *ObjectDescriptorMock) ChildrenFinished() bool

ChildrenFinished returns true if mock invocations count is ok

func (*ObjectDescriptorMock) ChildrenMinimockCounter added in v0.7.5

func (m *ObjectDescriptorMock) ChildrenMinimockCounter() uint64

ChildrenMinimockCounter returns a count of ObjectDescriptorMock.ChildrenFunc invocations

func (*ObjectDescriptorMock) ChildrenMinimockPreCounter added in v0.7.5

func (m *ObjectDescriptorMock) ChildrenMinimockPreCounter() uint64

ChildrenMinimockPreCounter returns the value of ObjectDescriptorMock.Children invocations

func (*ObjectDescriptorMock) Code added in v0.7.5

func (m *ObjectDescriptorMock) Code() (r *core.RecordRef, r1 error)

Code implements github.com/insolar/insolar/core.ObjectDescriptor interface

func (*ObjectDescriptorMock) CodeFinished added in v0.7.5

func (m *ObjectDescriptorMock) CodeFinished() bool

CodeFinished returns true if mock invocations count is ok

func (*ObjectDescriptorMock) CodeMinimockCounter added in v0.7.5

func (m *ObjectDescriptorMock) CodeMinimockCounter() uint64

CodeMinimockCounter returns a count of ObjectDescriptorMock.CodeFunc invocations

func (*ObjectDescriptorMock) CodeMinimockPreCounter added in v0.7.5

func (m *ObjectDescriptorMock) CodeMinimockPreCounter() uint64

CodeMinimockPreCounter returns the value of ObjectDescriptorMock.Code invocations

func (*ObjectDescriptorMock) Finish added in v0.7.5

func (m *ObjectDescriptorMock) Finish()

Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller

func (*ObjectDescriptorMock) HeadRef added in v0.7.5

func (m *ObjectDescriptorMock) HeadRef() (r *core.RecordRef)

HeadRef implements github.com/insolar/insolar/core.ObjectDescriptor interface

func (*ObjectDescriptorMock) HeadRefFinished added in v0.7.5

func (m *ObjectDescriptorMock) HeadRefFinished() bool

HeadRefFinished returns true if mock invocations count is ok

func (*ObjectDescriptorMock) HeadRefMinimockCounter added in v0.7.5

func (m *ObjectDescriptorMock) HeadRefMinimockCounter() uint64

HeadRefMinimockCounter returns a count of ObjectDescriptorMock.HeadRefFunc invocations

func (*ObjectDescriptorMock) HeadRefMinimockPreCounter added in v0.7.5

func (m *ObjectDescriptorMock) HeadRefMinimockPreCounter() uint64

HeadRefMinimockPreCounter returns the value of ObjectDescriptorMock.HeadRef invocations

func (*ObjectDescriptorMock) IsPrototype added in v0.7.5

func (m *ObjectDescriptorMock) IsPrototype() (r bool)

IsPrototype implements github.com/insolar/insolar/core.ObjectDescriptor interface

func (*ObjectDescriptorMock) IsPrototypeFinished added in v0.7.5

func (m *ObjectDescriptorMock) IsPrototypeFinished() bool

IsPrototypeFinished returns true if mock invocations count is ok

func (*ObjectDescriptorMock) IsPrototypeMinimockCounter added in v0.7.5

func (m *ObjectDescriptorMock) IsPrototypeMinimockCounter() uint64

IsPrototypeMinimockCounter returns a count of ObjectDescriptorMock.IsPrototypeFunc invocations

func (*ObjectDescriptorMock) IsPrototypeMinimockPreCounter added in v0.7.5

func (m *ObjectDescriptorMock) IsPrototypeMinimockPreCounter() uint64

IsPrototypeMinimockPreCounter returns the value of ObjectDescriptorMock.IsPrototype invocations

func (*ObjectDescriptorMock) Memory added in v0.7.5

func (m *ObjectDescriptorMock) Memory() (r []byte)

Memory implements github.com/insolar/insolar/core.ObjectDescriptor interface

func (*ObjectDescriptorMock) MemoryFinished added in v0.7.5

func (m *ObjectDescriptorMock) MemoryFinished() bool

MemoryFinished returns true if mock invocations count is ok

func (*ObjectDescriptorMock) MemoryMinimockCounter added in v0.7.5

func (m *ObjectDescriptorMock) MemoryMinimockCounter() uint64

MemoryMinimockCounter returns a count of ObjectDescriptorMock.MemoryFunc invocations

func (*ObjectDescriptorMock) MemoryMinimockPreCounter added in v0.7.5

func (m *ObjectDescriptorMock) MemoryMinimockPreCounter() uint64

MemoryMinimockPreCounter returns the value of ObjectDescriptorMock.Memory invocations

func (*ObjectDescriptorMock) MinimockFinish added in v0.7.5

func (m *ObjectDescriptorMock) MinimockFinish()

MinimockFinish checks that all mocked methods of the interface have been called at least once

func (*ObjectDescriptorMock) MinimockWait added in v0.7.5

func (m *ObjectDescriptorMock) MinimockWait(timeout time.Duration)

MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller

func (*ObjectDescriptorMock) Parent added in v0.7.5

func (m *ObjectDescriptorMock) Parent() (r *core.RecordRef)

Parent implements github.com/insolar/insolar/core.ObjectDescriptor interface

func (*ObjectDescriptorMock) ParentFinished added in v0.7.5

func (m *ObjectDescriptorMock) ParentFinished() bool

ParentFinished returns true if mock invocations count is ok

func (*ObjectDescriptorMock) ParentMinimockCounter added in v0.7.5

func (m *ObjectDescriptorMock) ParentMinimockCounter() uint64

ParentMinimockCounter returns a count of ObjectDescriptorMock.ParentFunc invocations

func (*ObjectDescriptorMock) ParentMinimockPreCounter added in v0.7.5

func (m *ObjectDescriptorMock) ParentMinimockPreCounter() uint64

ParentMinimockPreCounter returns the value of ObjectDescriptorMock.Parent invocations

func (*ObjectDescriptorMock) Prototype added in v0.7.5

func (m *ObjectDescriptorMock) Prototype() (r *core.RecordRef, r1 error)

Prototype implements github.com/insolar/insolar/core.ObjectDescriptor interface

func (*ObjectDescriptorMock) PrototypeFinished added in v0.7.5

func (m *ObjectDescriptorMock) PrototypeFinished() bool

PrototypeFinished returns true if mock invocations count is ok

func (*ObjectDescriptorMock) PrototypeMinimockCounter added in v0.7.5

func (m *ObjectDescriptorMock) PrototypeMinimockCounter() uint64

PrototypeMinimockCounter returns a count of ObjectDescriptorMock.PrototypeFunc invocations

func (*ObjectDescriptorMock) PrototypeMinimockPreCounter added in v0.7.5

func (m *ObjectDescriptorMock) PrototypeMinimockPreCounter() uint64

PrototypeMinimockPreCounter returns the value of ObjectDescriptorMock.Prototype invocations

func (*ObjectDescriptorMock) StateID added in v0.7.5

func (m *ObjectDescriptorMock) StateID() (r *core.RecordID)

StateID implements github.com/insolar/insolar/core.ObjectDescriptor interface

func (*ObjectDescriptorMock) StateIDFinished added in v0.7.5

func (m *ObjectDescriptorMock) StateIDFinished() bool

StateIDFinished returns true if mock invocations count is ok

func (*ObjectDescriptorMock) StateIDMinimockCounter added in v0.7.5

func (m *ObjectDescriptorMock) StateIDMinimockCounter() uint64

StateIDMinimockCounter returns a count of ObjectDescriptorMock.StateIDFunc invocations

func (*ObjectDescriptorMock) StateIDMinimockPreCounter added in v0.7.5

func (m *ObjectDescriptorMock) StateIDMinimockPreCounter() uint64

StateIDMinimockPreCounter returns the value of ObjectDescriptorMock.StateID invocations

func (*ObjectDescriptorMock) ValidateCallCounters added in v0.7.5

func (m *ObjectDescriptorMock) ValidateCallCounters()

ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*ObjectDescriptorMock) Wait added in v0.7.5

func (m *ObjectDescriptorMock) Wait(timeout time.Duration)

Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller

type ObjectDescriptorMockChildPointerExpectation added in v0.7.5

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

func (*ObjectDescriptorMockChildPointerExpectation) Return added in v0.7.5

type ObjectDescriptorMockChildPointerResult added in v0.7.5

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

type ObjectDescriptorMockChildrenExpectation added in v0.7.5

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

func (*ObjectDescriptorMockChildrenExpectation) Return added in v0.7.5

type ObjectDescriptorMockChildrenInput added in v0.7.5

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

type ObjectDescriptorMockChildrenResult added in v0.7.5

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

type ObjectDescriptorMockCodeExpectation added in v0.7.5

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

func (*ObjectDescriptorMockCodeExpectation) Return added in v0.7.5

type ObjectDescriptorMockCodeResult added in v0.7.5

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

type ObjectDescriptorMockHeadRefExpectation added in v0.7.5

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

func (*ObjectDescriptorMockHeadRefExpectation) Return added in v0.7.5

type ObjectDescriptorMockHeadRefResult added in v0.7.5

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

type ObjectDescriptorMockIsPrototypeExpectation added in v0.7.5

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

func (*ObjectDescriptorMockIsPrototypeExpectation) Return added in v0.7.5

type ObjectDescriptorMockIsPrototypeResult added in v0.7.5

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

type ObjectDescriptorMockMemoryExpectation added in v0.7.5

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

func (*ObjectDescriptorMockMemoryExpectation) Return added in v0.7.5

type ObjectDescriptorMockMemoryResult added in v0.7.5

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

type ObjectDescriptorMockParentExpectation added in v0.7.5

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

func (*ObjectDescriptorMockParentExpectation) Return added in v0.7.5

type ObjectDescriptorMockParentResult added in v0.7.5

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

type ObjectDescriptorMockPrototypeExpectation added in v0.7.5

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

func (*ObjectDescriptorMockPrototypeExpectation) Return added in v0.7.5

type ObjectDescriptorMockPrototypeResult added in v0.7.5

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

type ObjectDescriptorMockStateIDExpectation added in v0.7.5

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

func (*ObjectDescriptorMockStateIDExpectation) Return added in v0.7.5

type ObjectDescriptorMockStateIDResult added in v0.7.5

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

type ParcelMock added in v0.7.5

type ParcelMock struct {
	AllowedSenderObjectAndRoleFunc       func() (r *core.RecordRef, r1 core.DynamicRole)
	AllowedSenderObjectAndRoleCounter    uint64
	AllowedSenderObjectAndRolePreCounter uint64
	AllowedSenderObjectAndRoleMock       mParcelMockAllowedSenderObjectAndRole

	ContextFunc       func(p context.Context) (r context.Context)
	ContextCounter    uint64
	ContextPreCounter uint64
	ContextMock       mParcelMockContext

	DefaultRoleFunc       func() (r core.DynamicRole)
	DefaultRoleCounter    uint64
	DefaultRolePreCounter uint64
	DefaultRoleMock       mParcelMockDefaultRole

	DefaultTargetFunc       func() (r *core.RecordRef)
	DefaultTargetCounter    uint64
	DefaultTargetPreCounter uint64
	DefaultTargetMock       mParcelMockDefaultTarget

	DelegationTokenFunc       func() (r core.DelegationToken)
	DelegationTokenCounter    uint64
	DelegationTokenPreCounter uint64
	DelegationTokenMock       mParcelMockDelegationToken

	GetCallerFunc       func() (r *core.RecordRef)
	GetCallerCounter    uint64
	GetCallerPreCounter uint64
	GetCallerMock       mParcelMockGetCaller

	GetSenderFunc       func() (r core.RecordRef)
	GetSenderCounter    uint64
	GetSenderPreCounter uint64
	GetSenderMock       mParcelMockGetSender

	GetSignFunc       func() (r []byte)
	GetSignCounter    uint64
	GetSignPreCounter uint64
	GetSignMock       mParcelMockGetSign

	MessageFunc       func() (r core.Message)
	MessageCounter    uint64
	MessagePreCounter uint64
	MessageMock       mParcelMockMessage

	PulseFunc       func() (r core.PulseNumber)
	PulseCounter    uint64
	PulsePreCounter uint64
	PulseMock       mParcelMockPulse

	TypeFunc       func() (r core.MessageType)
	TypeCounter    uint64
	TypePreCounter uint64
	TypeMock       mParcelMockType
	// contains filtered or unexported fields
}

ParcelMock implements github.com/insolar/insolar/core.Parcel

func NewParcelMock added in v0.7.5

func NewParcelMock(t minimock.Tester) *ParcelMock

NewParcelMock returns a mock for github.com/insolar/insolar/core.Parcel

func (*ParcelMock) AllMocksCalled added in v0.7.5

func (m *ParcelMock) AllMocksCalled() bool

AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())

func (*ParcelMock) AllowedSenderObjectAndRole added in v0.7.5

func (m *ParcelMock) AllowedSenderObjectAndRole() (r *core.RecordRef, r1 core.DynamicRole)

AllowedSenderObjectAndRole implements github.com/insolar/insolar/core.Parcel interface

func (*ParcelMock) AllowedSenderObjectAndRoleFinished added in v0.7.5

func (m *ParcelMock) AllowedSenderObjectAndRoleFinished() bool

AllowedSenderObjectAndRoleFinished returns true if mock invocations count is ok

func (*ParcelMock) AllowedSenderObjectAndRoleMinimockCounter added in v0.7.5

func (m *ParcelMock) AllowedSenderObjectAndRoleMinimockCounter() uint64

AllowedSenderObjectAndRoleMinimockCounter returns a count of ParcelMock.AllowedSenderObjectAndRoleFunc invocations

func (*ParcelMock) AllowedSenderObjectAndRoleMinimockPreCounter added in v0.7.5

func (m *ParcelMock) AllowedSenderObjectAndRoleMinimockPreCounter() uint64

AllowedSenderObjectAndRoleMinimockPreCounter returns the value of ParcelMock.AllowedSenderObjectAndRole invocations

func (*ParcelMock) CheckMocksCalled added in v0.7.5

func (m *ParcelMock) CheckMocksCalled()

CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*ParcelMock) Context added in v0.7.5

func (m *ParcelMock) Context(p context.Context) (r context.Context)

Context implements github.com/insolar/insolar/core.Parcel interface

func (*ParcelMock) ContextFinished added in v0.7.5

func (m *ParcelMock) ContextFinished() bool

ContextFinished returns true if mock invocations count is ok

func (*ParcelMock) ContextMinimockCounter added in v0.7.5

func (m *ParcelMock) ContextMinimockCounter() uint64

ContextMinimockCounter returns a count of ParcelMock.ContextFunc invocations

func (*ParcelMock) ContextMinimockPreCounter added in v0.7.5

func (m *ParcelMock) ContextMinimockPreCounter() uint64

ContextMinimockPreCounter returns the value of ParcelMock.Context invocations

func (*ParcelMock) DefaultRole added in v0.7.5

func (m *ParcelMock) DefaultRole() (r core.DynamicRole)

DefaultRole implements github.com/insolar/insolar/core.Parcel interface

func (*ParcelMock) DefaultRoleFinished added in v0.7.5

func (m *ParcelMock) DefaultRoleFinished() bool

DefaultRoleFinished returns true if mock invocations count is ok

func (*ParcelMock) DefaultRoleMinimockCounter added in v0.7.5

func (m *ParcelMock) DefaultRoleMinimockCounter() uint64

DefaultRoleMinimockCounter returns a count of ParcelMock.DefaultRoleFunc invocations

func (*ParcelMock) DefaultRoleMinimockPreCounter added in v0.7.5

func (m *ParcelMock) DefaultRoleMinimockPreCounter() uint64

DefaultRoleMinimockPreCounter returns the value of ParcelMock.DefaultRole invocations

func (*ParcelMock) DefaultTarget added in v0.7.5

func (m *ParcelMock) DefaultTarget() (r *core.RecordRef)

DefaultTarget implements github.com/insolar/insolar/core.Parcel interface

func (*ParcelMock) DefaultTargetFinished added in v0.7.5

func (m *ParcelMock) DefaultTargetFinished() bool

DefaultTargetFinished returns true if mock invocations count is ok

func (*ParcelMock) DefaultTargetMinimockCounter added in v0.7.5

func (m *ParcelMock) DefaultTargetMinimockCounter() uint64

DefaultTargetMinimockCounter returns a count of ParcelMock.DefaultTargetFunc invocations

func (*ParcelMock) DefaultTargetMinimockPreCounter added in v0.7.5

func (m *ParcelMock) DefaultTargetMinimockPreCounter() uint64

DefaultTargetMinimockPreCounter returns the value of ParcelMock.DefaultTarget invocations

func (*ParcelMock) DelegationToken added in v0.7.5

func (m *ParcelMock) DelegationToken() (r core.DelegationToken)

DelegationToken implements github.com/insolar/insolar/core.Parcel interface

func (*ParcelMock) DelegationTokenFinished added in v0.7.5

func (m *ParcelMock) DelegationTokenFinished() bool

DelegationTokenFinished returns true if mock invocations count is ok

func (*ParcelMock) DelegationTokenMinimockCounter added in v0.7.5

func (m *ParcelMock) DelegationTokenMinimockCounter() uint64

DelegationTokenMinimockCounter returns a count of ParcelMock.DelegationTokenFunc invocations

func (*ParcelMock) DelegationTokenMinimockPreCounter added in v0.7.5

func (m *ParcelMock) DelegationTokenMinimockPreCounter() uint64

DelegationTokenMinimockPreCounter returns the value of ParcelMock.DelegationToken invocations

func (*ParcelMock) Finish added in v0.7.5

func (m *ParcelMock) Finish()

Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller

func (*ParcelMock) GetCaller added in v0.7.5

func (m *ParcelMock) GetCaller() (r *core.RecordRef)

GetCaller implements github.com/insolar/insolar/core.Parcel interface

func (*ParcelMock) GetCallerFinished added in v0.7.5

func (m *ParcelMock) GetCallerFinished() bool

GetCallerFinished returns true if mock invocations count is ok

func (*ParcelMock) GetCallerMinimockCounter added in v0.7.5

func (m *ParcelMock) GetCallerMinimockCounter() uint64

GetCallerMinimockCounter returns a count of ParcelMock.GetCallerFunc invocations

func (*ParcelMock) GetCallerMinimockPreCounter added in v0.7.5

func (m *ParcelMock) GetCallerMinimockPreCounter() uint64

GetCallerMinimockPreCounter returns the value of ParcelMock.GetCaller invocations

func (*ParcelMock) GetSender added in v0.7.5

func (m *ParcelMock) GetSender() (r core.RecordRef)

GetSender implements github.com/insolar/insolar/core.Parcel interface

func (*ParcelMock) GetSenderFinished added in v0.7.5

func (m *ParcelMock) GetSenderFinished() bool

GetSenderFinished returns true if mock invocations count is ok

func (*ParcelMock) GetSenderMinimockCounter added in v0.7.5

func (m *ParcelMock) GetSenderMinimockCounter() uint64

GetSenderMinimockCounter returns a count of ParcelMock.GetSenderFunc invocations

func (*ParcelMock) GetSenderMinimockPreCounter added in v0.7.5

func (m *ParcelMock) GetSenderMinimockPreCounter() uint64

GetSenderMinimockPreCounter returns the value of ParcelMock.GetSender invocations

func (*ParcelMock) GetSign added in v0.7.5

func (m *ParcelMock) GetSign() (r []byte)

GetSign implements github.com/insolar/insolar/core.Parcel interface

func (*ParcelMock) GetSignFinished added in v0.7.5

func (m *ParcelMock) GetSignFinished() bool

GetSignFinished returns true if mock invocations count is ok

func (*ParcelMock) GetSignMinimockCounter added in v0.7.5

func (m *ParcelMock) GetSignMinimockCounter() uint64

GetSignMinimockCounter returns a count of ParcelMock.GetSignFunc invocations

func (*ParcelMock) GetSignMinimockPreCounter added in v0.7.5

func (m *ParcelMock) GetSignMinimockPreCounter() uint64

GetSignMinimockPreCounter returns the value of ParcelMock.GetSign invocations

func (*ParcelMock) Message added in v0.7.5

func (m *ParcelMock) Message() (r core.Message)

Message implements github.com/insolar/insolar/core.Parcel interface

func (*ParcelMock) MessageFinished added in v0.7.5

func (m *ParcelMock) MessageFinished() bool

MessageFinished returns true if mock invocations count is ok

func (*ParcelMock) MessageMinimockCounter added in v0.7.5

func (m *ParcelMock) MessageMinimockCounter() uint64

MessageMinimockCounter returns a count of ParcelMock.MessageFunc invocations

func (*ParcelMock) MessageMinimockPreCounter added in v0.7.5

func (m *ParcelMock) MessageMinimockPreCounter() uint64

MessageMinimockPreCounter returns the value of ParcelMock.Message invocations

func (*ParcelMock) MinimockFinish added in v0.7.5

func (m *ParcelMock) MinimockFinish()

MinimockFinish checks that all mocked methods of the interface have been called at least once

func (*ParcelMock) MinimockWait added in v0.7.5

func (m *ParcelMock) MinimockWait(timeout time.Duration)

MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller

func (*ParcelMock) Pulse added in v0.7.5

func (m *ParcelMock) Pulse() (r core.PulseNumber)

Pulse implements github.com/insolar/insolar/core.Parcel interface

func (*ParcelMock) PulseFinished added in v0.7.5

func (m *ParcelMock) PulseFinished() bool

PulseFinished returns true if mock invocations count is ok

func (*ParcelMock) PulseMinimockCounter added in v0.7.5

func (m *ParcelMock) PulseMinimockCounter() uint64

PulseMinimockCounter returns a count of ParcelMock.PulseFunc invocations

func (*ParcelMock) PulseMinimockPreCounter added in v0.7.5

func (m *ParcelMock) PulseMinimockPreCounter() uint64

PulseMinimockPreCounter returns the value of ParcelMock.Pulse invocations

func (*ParcelMock) Type added in v0.7.5

func (m *ParcelMock) Type() (r core.MessageType)

Type implements github.com/insolar/insolar/core.Parcel interface

func (*ParcelMock) TypeFinished added in v0.7.5

func (m *ParcelMock) TypeFinished() bool

TypeFinished returns true if mock invocations count is ok

func (*ParcelMock) TypeMinimockCounter added in v0.7.5

func (m *ParcelMock) TypeMinimockCounter() uint64

TypeMinimockCounter returns a count of ParcelMock.TypeFunc invocations

func (*ParcelMock) TypeMinimockPreCounter added in v0.7.5

func (m *ParcelMock) TypeMinimockPreCounter() uint64

TypeMinimockPreCounter returns the value of ParcelMock.Type invocations

func (*ParcelMock) ValidateCallCounters added in v0.7.5

func (m *ParcelMock) ValidateCallCounters()

ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*ParcelMock) Wait added in v0.7.5

func (m *ParcelMock) Wait(timeout time.Duration)

Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller

type ParcelMockAllowedSenderObjectAndRoleExpectation added in v0.7.5

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

func (*ParcelMockAllowedSenderObjectAndRoleExpectation) Return added in v0.7.5

type ParcelMockAllowedSenderObjectAndRoleResult added in v0.7.5

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

type ParcelMockContextExpectation added in v0.7.5

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

func (*ParcelMockContextExpectation) Return added in v0.7.5

type ParcelMockContextInput added in v0.7.5

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

type ParcelMockContextResult added in v0.7.5

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

type ParcelMockDefaultRoleExpectation added in v0.7.5

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

func (*ParcelMockDefaultRoleExpectation) Return added in v0.7.5

type ParcelMockDefaultRoleResult added in v0.7.5

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

type ParcelMockDefaultTargetExpectation added in v0.7.5

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

func (*ParcelMockDefaultTargetExpectation) Return added in v0.7.5

type ParcelMockDefaultTargetResult added in v0.7.5

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

type ParcelMockDelegationTokenExpectation added in v0.7.5

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

func (*ParcelMockDelegationTokenExpectation) Return added in v0.7.5

type ParcelMockDelegationTokenResult added in v0.7.5

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

type ParcelMockGetCallerExpectation added in v0.7.5

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

func (*ParcelMockGetCallerExpectation) Return added in v0.7.5

type ParcelMockGetCallerResult added in v0.7.5

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

type ParcelMockGetSenderExpectation added in v0.7.5

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

func (*ParcelMockGetSenderExpectation) Return added in v0.7.5

type ParcelMockGetSenderResult added in v0.7.5

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

type ParcelMockGetSignExpectation added in v0.7.5

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

func (*ParcelMockGetSignExpectation) Return added in v0.7.5

func (e *ParcelMockGetSignExpectation) Return(r []byte)

type ParcelMockGetSignResult added in v0.7.5

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

type ParcelMockMessageExpectation added in v0.7.5

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

func (*ParcelMockMessageExpectation) Return added in v0.7.5

type ParcelMockMessageResult added in v0.7.5

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

type ParcelMockPulseExpectation added in v0.7.5

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

func (*ParcelMockPulseExpectation) Return added in v0.7.5

type ParcelMockPulseResult added in v0.7.5

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

type ParcelMockTypeExpectation added in v0.7.5

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

func (*ParcelMockTypeExpectation) Return added in v0.7.5

type ParcelMockTypeResult added in v0.7.5

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

type PulseDistributorMock added in v0.7.5

type PulseDistributorMock struct {
	DistributeFunc       func(p context.Context, p1 core.Pulse)
	DistributeCounter    uint64
	DistributePreCounter uint64
	DistributeMock       mPulseDistributorMockDistribute
	// contains filtered or unexported fields
}

PulseDistributorMock implements github.com/insolar/insolar/core.PulseDistributor

func NewPulseDistributorMock added in v0.7.5

func NewPulseDistributorMock(t minimock.Tester) *PulseDistributorMock

NewPulseDistributorMock returns a mock for github.com/insolar/insolar/core.PulseDistributor

func (*PulseDistributorMock) AllMocksCalled added in v0.7.5

func (m *PulseDistributorMock) AllMocksCalled() bool

AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())

func (*PulseDistributorMock) CheckMocksCalled added in v0.7.5

func (m *PulseDistributorMock) CheckMocksCalled()

CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*PulseDistributorMock) Distribute added in v0.7.5

func (m *PulseDistributorMock) Distribute(p context.Context, p1 core.Pulse)

Distribute implements github.com/insolar/insolar/core.PulseDistributor interface

func (*PulseDistributorMock) DistributeFinished added in v0.7.5

func (m *PulseDistributorMock) DistributeFinished() bool

DistributeFinished returns true if mock invocations count is ok

func (*PulseDistributorMock) DistributeMinimockCounter added in v0.7.5

func (m *PulseDistributorMock) DistributeMinimockCounter() uint64

DistributeMinimockCounter returns a count of PulseDistributorMock.DistributeFunc invocations

func (*PulseDistributorMock) DistributeMinimockPreCounter added in v0.7.5

func (m *PulseDistributorMock) DistributeMinimockPreCounter() uint64

DistributeMinimockPreCounter returns the value of PulseDistributorMock.Distribute invocations

func (*PulseDistributorMock) Finish added in v0.7.5

func (m *PulseDistributorMock) Finish()

Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller

func (*PulseDistributorMock) MinimockFinish added in v0.7.5

func (m *PulseDistributorMock) MinimockFinish()

MinimockFinish checks that all mocked methods of the interface have been called at least once

func (*PulseDistributorMock) MinimockWait added in v0.7.5

func (m *PulseDistributorMock) MinimockWait(timeout time.Duration)

MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller

func (*PulseDistributorMock) ValidateCallCounters added in v0.7.5

func (m *PulseDistributorMock) ValidateCallCounters()

ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*PulseDistributorMock) Wait added in v0.7.5

func (m *PulseDistributorMock) Wait(timeout time.Duration)

Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller

type PulseDistributorMockDistributeExpectation added in v0.7.5

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

type PulseDistributorMockDistributeInput added in v0.7.5

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

type PulseManagerMock added in v0.6.3

type PulseManagerMock struct {
	SetFunc       func(p context.Context, p1 core.Pulse, p2 bool) (r error)
	SetCounter    uint64
	SetPreCounter uint64
	SetMock       mPulseManagerMockSet
	// contains filtered or unexported fields
}

PulseManagerMock implements github.com/insolar/insolar/core.PulseManager

func NewPulseManagerMock added in v0.6.3

func NewPulseManagerMock(t minimock.Tester) *PulseManagerMock

NewPulseManagerMock returns a mock for github.com/insolar/insolar/core.PulseManager

func (*PulseManagerMock) AllMocksCalled added in v0.6.3

func (m *PulseManagerMock) AllMocksCalled() bool

AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())

func (*PulseManagerMock) CheckMocksCalled added in v0.6.3

func (m *PulseManagerMock) CheckMocksCalled()

CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*PulseManagerMock) Finish added in v0.6.3

func (m *PulseManagerMock) Finish()

Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller

func (*PulseManagerMock) MinimockFinish added in v0.6.3

func (m *PulseManagerMock) MinimockFinish()

MinimockFinish checks that all mocked methods of the interface have been called at least once

func (*PulseManagerMock) MinimockWait added in v0.6.3

func (m *PulseManagerMock) MinimockWait(timeout time.Duration)

MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller

func (*PulseManagerMock) Set added in v0.6.3

func (m *PulseManagerMock) Set(p context.Context, p1 core.Pulse, p2 bool) (r error)

Set implements github.com/insolar/insolar/core.PulseManager interface

func (*PulseManagerMock) SetFinished added in v0.7.5

func (m *PulseManagerMock) SetFinished() bool

SetFinished returns true if mock invocations count is ok

func (*PulseManagerMock) SetMinimockCounter added in v0.6.3

func (m *PulseManagerMock) SetMinimockCounter() uint64

SetMinimockCounter returns a count of PulseManagerMock.SetFunc invocations

func (*PulseManagerMock) SetMinimockPreCounter added in v0.6.3

func (m *PulseManagerMock) SetMinimockPreCounter() uint64

SetMinimockPreCounter returns the value of PulseManagerMock.Set invocations

func (*PulseManagerMock) ValidateCallCounters added in v0.6.3

func (m *PulseManagerMock) ValidateCallCounters()

ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*PulseManagerMock) Wait added in v0.6.3

func (m *PulseManagerMock) Wait(timeout time.Duration)

Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller

type PulseManagerMockSetExpectation added in v0.7.5

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

func (*PulseManagerMockSetExpectation) Return added in v0.7.5

type PulseManagerMockSetInput added in v0.7.5

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

type PulseManagerMockSetResult added in v0.7.5

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

type PulseStorageMock added in v0.7.5

type PulseStorageMock struct {
	CurrentFunc       func(p context.Context) (r *core.Pulse, r1 error)
	CurrentCounter    uint64
	CurrentPreCounter uint64
	CurrentMock       mPulseStorageMockCurrent
	// contains filtered or unexported fields
}

PulseStorageMock implements github.com/insolar/insolar/core.PulseStorage

func NewPulseStorageMock added in v0.7.5

func NewPulseStorageMock(t minimock.Tester) *PulseStorageMock

NewPulseStorageMock returns a mock for github.com/insolar/insolar/core.PulseStorage

func (*PulseStorageMock) AllMocksCalled added in v0.7.5

func (m *PulseStorageMock) AllMocksCalled() bool

AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())

func (*PulseStorageMock) CheckMocksCalled added in v0.7.5

func (m *PulseStorageMock) CheckMocksCalled()

CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*PulseStorageMock) Current added in v0.7.5

func (m *PulseStorageMock) Current(p context.Context) (r *core.Pulse, r1 error)

Current implements github.com/insolar/insolar/core.PulseStorage interface

func (*PulseStorageMock) CurrentFinished added in v0.7.5

func (m *PulseStorageMock) CurrentFinished() bool

CurrentFinished returns true if mock invocations count is ok

func (*PulseStorageMock) CurrentMinimockCounter added in v0.7.5

func (m *PulseStorageMock) CurrentMinimockCounter() uint64

CurrentMinimockCounter returns a count of PulseStorageMock.CurrentFunc invocations

func (*PulseStorageMock) CurrentMinimockPreCounter added in v0.7.5

func (m *PulseStorageMock) CurrentMinimockPreCounter() uint64

CurrentMinimockPreCounter returns the value of PulseStorageMock.Current invocations

func (*PulseStorageMock) Finish added in v0.7.5

func (m *PulseStorageMock) Finish()

Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller

func (*PulseStorageMock) MinimockFinish added in v0.7.5

func (m *PulseStorageMock) MinimockFinish()

MinimockFinish checks that all mocked methods of the interface have been called at least once

func (*PulseStorageMock) MinimockWait added in v0.7.5

func (m *PulseStorageMock) MinimockWait(timeout time.Duration)

MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller

func (*PulseStorageMock) ValidateCallCounters added in v0.7.5

func (m *PulseStorageMock) ValidateCallCounters()

ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller

func (*PulseStorageMock) Wait added in v0.7.5

func (m *PulseStorageMock) Wait(timeout time.Duration)

Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller

type PulseStorageMockCurrentExpectation added in v0.7.5

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

func (*PulseStorageMockCurrentExpectation) Return added in v0.7.5

type PulseStorageMockCurrentInput added in v0.7.5

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

type PulseStorageMockCurrentResult added in v0.7.5

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

type Recorder added in v0.6.1

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

Recorder records input data line by line in underline list.

func NewRecoder added in v0.6.1

func NewRecoder() *Recorder

NewRecoder produces new Recorder instance.

func (*Recorder) Add added in v0.6.1

func (rec *Recorder) Add(s string)

Add appends string to Recorder.

func (*Recorder) Items added in v0.6.1

func (rec *Recorder) Items() []string

Items returns Recorder's underlying array.

func (*Recorder) String added in v0.6.1

func (rec *Recorder) String() string

String stringifies recorder content.

func (*Recorder) StringMultiline added in v0.6.1

func (rec *Recorder) StringMultiline() string

StringMultiline stringifies recorder content in multiple lines.

func (*Recorder) Write added in v0.6.1

func (rec *Recorder) Write(p []byte) (int, error)

Write implements io.Write interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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