tests

package
v0.0.0-...-051a9c2 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package tests is a generated GoMock package.

  • Copyright 2017 - 2019 KB Kontrakt LLC - All Rights Reserved. *

  • Licensed under the Apache License, Version 2.0 (the "License");

  • you may not use this file except in compliance with the License.

  • You may obtain a copy of the License at

  • http://www.apache.org/licenses/LICENSE-2.0

  • Unless required by applicable law or agreed to in writing, software

  • distributed under the License is distributed on an "AS IS" BASIS,

  • WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

  • See the License for the specific language governing permissions and

  • limitations under the License. *

  • Copyright 2017 - 2019 KB Kontrakt LLC - All Rights Reserved. *

  • Licensed under the Apache License, Version 2.0 (the "License");

  • you may not use this file except in compliance with the License.

  • You may obtain a copy of the License at

  • http://www.apache.org/licenses/LICENSE-2.0

  • Unless required by applicable law or agreed to in writing, software

  • distributed under the License is distributed on an "AS IS" BASIS,

  • WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

  • See the License for the specific language governing permissions and

  • limitations under the License. *

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GomockRexp

func GomockRexp(rexp string) gomock.Matcher

GomockRexp .

func JSONFillMockPrvState

func JSONFillMockPrvState(mock *shimtest.MockStub, collectionName string, keyValPairs ...interface{})

JSONFillMockPrvState .

func JSONFillMockState

func JSONFillMockState(mock *shimtest.MockStub, keyValPairs ...interface{})

JSONFillMockState .

func MakeJSONStateIteratorFuncs

func MakeJSONStateIteratorFuncs(namespace string, keyValPairs ...interface{}) (interface{}, interface{})

MakeJSONStateIteratorFuncs .

func WrapShimMockDelPrivState

func WrapShimMockDelPrivState(mock *shimtest.MockStub) interface{}

WrapShimMockDelPrivState .

func WrapShimMockDelState

func WrapShimMockDelState(mock *shimtest.MockStub) interface{}

WrapShimMockDelState .

func WrapShimMockGetPrivState

func WrapShimMockGetPrivState(mock *shimtest.MockStub) interface{}

WrapShimMockGetPrivState .

func WrapShimMockGetState

func WrapShimMockGetState(mock *shimtest.MockStub) interface{}

WrapShimMockGetState .

func WrapShimMockPutPrivState

func WrapShimMockPutPrivState(mock *shimtest.MockStub) interface{}

WrapShimMockPutPrivState .

func WrapShimMockPutState

func WrapShimMockPutState(mock *shimtest.MockStub) interface{}

WrapShimMockPutState .

func WrapShimMockTxID

func WrapShimMockTxID(mock *shimtest.MockStub) interface{}

WrapShimMockTxID .

func WrapShimMockTxStamp

func WrapShimMockTxStamp(mock *shimtest.MockStub) interface{}

WrapShimMockTxStamp .

Types

type MockChaincode

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

MockChaincode is a mock of Chaincode interface

func NewMockChaincode

func NewMockChaincode(ctrl *gomock.Controller) *MockChaincode

NewMockChaincode creates a new mock instance

func (*MockChaincode) EXPECT

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

func (*MockChaincode) Init

Init mocks base method

func (*MockChaincode) Invoke

Invoke mocks base method

type MockChaincodeMockRecorder

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

MockChaincodeMockRecorder is the mock recorder for MockChaincode

func (*MockChaincodeMockRecorder) Init

func (mr *MockChaincodeMockRecorder) Init(stub interface{}) *gomock.Call

Init indicates an expected call of Init

func (*MockChaincodeMockRecorder) Invoke

func (mr *MockChaincodeMockRecorder) Invoke(stub interface{}) *gomock.Call

Invoke indicates an expected call of Invoke

type MockChaincodeStubInterface

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

MockChaincodeStubInterface is a mock of shim.ChaincodeStubInterface interface

func NewMockChaincodeStubInterface

func NewMockChaincodeStubInterface(ctrl *gomock.Controller) *MockChaincodeStubInterface

NewMockChaincodeStubInterface creates a new mock instance

func NewSMC

NewSMC .

func (*MockChaincodeStubInterface) CreateCompositeKey

func (m *MockChaincodeStubInterface) CreateCompositeKey(objectType string, attributes []string) (string, error)

CreateCompositeKey mocks base method

func (*MockChaincodeStubInterface) DelPrivateData

func (m *MockChaincodeStubInterface) DelPrivateData(collection, key string) error

DelPrivateData mocks base method

func (*MockChaincodeStubInterface) DelState

func (m *MockChaincodeStubInterface) DelState(key string) error

DelState mocks base method

func (*MockChaincodeStubInterface) EXPECT

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

func (*MockChaincodeStubInterface) GetArgs

func (m *MockChaincodeStubInterface) GetArgs() [][]byte

GetArgs mocks base method

func (*MockChaincodeStubInterface) GetArgsSlice

func (m *MockChaincodeStubInterface) GetArgsSlice() ([]byte, error)

GetArgsSlice mocks base method

func (*MockChaincodeStubInterface) GetBinding

func (m *MockChaincodeStubInterface) GetBinding() ([]byte, error)

GetBinding mocks base method

func (*MockChaincodeStubInterface) GetChannelID

func (m *MockChaincodeStubInterface) GetChannelID() string

GetChannelID mocks base method

func (*MockChaincodeStubInterface) GetCreator

func (m *MockChaincodeStubInterface) GetCreator() ([]byte, error)

GetCreator mocks base method

func (*MockChaincodeStubInterface) GetDecorations

func (m *MockChaincodeStubInterface) GetDecorations() map[string][]byte

GetDecorations mocks base method

func (*MockChaincodeStubInterface) GetFunctionAndParameters

func (m *MockChaincodeStubInterface) GetFunctionAndParameters() (string, []string)

GetFunctionAndParameters mocks base method

func (*MockChaincodeStubInterface) GetHistoryForKey

GetHistoryForKey mocks base method

func (*MockChaincodeStubInterface) GetPrivateData

func (m *MockChaincodeStubInterface) GetPrivateData(collection, key string) ([]byte, error)

GetPrivateData mocks base method

func (*MockChaincodeStubInterface) GetPrivateDataByPartialCompositeKey

func (m *MockChaincodeStubInterface) GetPrivateDataByPartialCompositeKey(collection, objectType string, keys []string) (shim.StateQueryIteratorInterface, error)

GetPrivateDataByPartialCompositeKey mocks base method

func (*MockChaincodeStubInterface) GetPrivateDataByRange

func (m *MockChaincodeStubInterface) GetPrivateDataByRange(collection, startKey, endKey string) (shim.StateQueryIteratorInterface, error)

GetPrivateDataByRange mocks base method

func (*MockChaincodeStubInterface) GetPrivateDataQueryResult

func (m *MockChaincodeStubInterface) GetPrivateDataQueryResult(collection, query string) (shim.StateQueryIteratorInterface, error)

GetPrivateDataQueryResult mocks base method

func (*MockChaincodeStubInterface) GetPrivateDataValidationParameter

func (m *MockChaincodeStubInterface) GetPrivateDataValidationParameter(collection, key string) ([]byte, error)

GetPrivateDataValidationParameter mocks base method

func (*MockChaincodeStubInterface) GetQueryResult

GetQueryResult mocks base method

func (*MockChaincodeStubInterface) GetQueryResultWithPagination

func (m *MockChaincodeStubInterface) GetQueryResultWithPagination(query string, pageSize int32, bookmark string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error)

GetQueryResultWithPagination mocks base method

func (*MockChaincodeStubInterface) GetSignedProposal

func (m *MockChaincodeStubInterface) GetSignedProposal() (*peer.SignedProposal, error)

GetSignedProposal mocks base method

func (*MockChaincodeStubInterface) GetState

func (m *MockChaincodeStubInterface) GetState(key string) ([]byte, error)

GetState mocks base method

func (*MockChaincodeStubInterface) GetStateByPartialCompositeKey

func (m *MockChaincodeStubInterface) GetStateByPartialCompositeKey(objectType string, keys []string) (shim.StateQueryIteratorInterface, error)

GetStateByPartialCompositeKey mocks base method

func (*MockChaincodeStubInterface) GetStateByPartialCompositeKeyWithPagination

func (m *MockChaincodeStubInterface) GetStateByPartialCompositeKeyWithPagination(objectType string, keys []string, pageSize int32, bookmark string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error)

GetStateByPartialCompositeKeyWithPagination mocks base method

func (*MockChaincodeStubInterface) GetStateByRange

func (m *MockChaincodeStubInterface) GetStateByRange(startKey, endKey string) (shim.StateQueryIteratorInterface, error)

GetStateByRange mocks base method

func (*MockChaincodeStubInterface) GetStateByRangeWithPagination

func (m *MockChaincodeStubInterface) GetStateByRangeWithPagination(startKey, endKey string, pageSize int32, bookmark string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error)

GetStateByRangeWithPagination mocks base method

func (*MockChaincodeStubInterface) GetStateValidationParameter

func (m *MockChaincodeStubInterface) GetStateValidationParameter(key string) ([]byte, error)

GetStateValidationParameter mocks base method

func (*MockChaincodeStubInterface) GetStringArgs

func (m *MockChaincodeStubInterface) GetStringArgs() []string

GetStringArgs mocks base method

func (*MockChaincodeStubInterface) GetTransient

func (m *MockChaincodeStubInterface) GetTransient() (map[string][]byte, error)

GetTransient mocks base method

func (*MockChaincodeStubInterface) GetTxID

func (m *MockChaincodeStubInterface) GetTxID() string

GetTxID mocks base method

func (*MockChaincodeStubInterface) GetTxTimestamp

func (m *MockChaincodeStubInterface) GetTxTimestamp() (*timestamp.Timestamp, error)

GetTxTimestamp mocks base method

func (*MockChaincodeStubInterface) InvokeChaincode

func (m *MockChaincodeStubInterface) InvokeChaincode(chaincodeName string, args [][]byte, channel string) peer.Response

InvokeChaincode mocks base method

func (*MockChaincodeStubInterface) PutPrivateData

func (m *MockChaincodeStubInterface) PutPrivateData(collection, key string, value []byte) error

PutPrivateData mocks base method

func (*MockChaincodeStubInterface) PutState

func (m *MockChaincodeStubInterface) PutState(key string, value []byte) error

PutState mocks base method

func (*MockChaincodeStubInterface) SetEvent

func (m *MockChaincodeStubInterface) SetEvent(name string, payload []byte) error

SetEvent mocks base method

func (*MockChaincodeStubInterface) SetPrivateDataValidationParameter

func (m *MockChaincodeStubInterface) SetPrivateDataValidationParameter(collection, key string, ep []byte) error

SetPrivateDataValidationParameter mocks base method

func (*MockChaincodeStubInterface) SetStateValidationParameter

func (m *MockChaincodeStubInterface) SetStateValidationParameter(key string, ep []byte) error

SetStateValidationParameter mocks base method

func (*MockChaincodeStubInterface) SplitCompositeKey

func (m *MockChaincodeStubInterface) SplitCompositeKey(compositeKey string) (string, []string, error)

SplitCompositeKey mocks base method

type MockChaincodeStubInterfaceMockRecorder

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

MockChaincodeStubInterfaceMockRecorder is the mock recorder for MockChaincodeStubInterface

func (*MockChaincodeStubInterfaceMockRecorder) CreateCompositeKey

func (mr *MockChaincodeStubInterfaceMockRecorder) CreateCompositeKey(objectType, attributes interface{}) *gomock.Call

CreateCompositeKey indicates an expected call of CreateCompositeKey

func (*MockChaincodeStubInterfaceMockRecorder) DelPrivateData

func (mr *MockChaincodeStubInterfaceMockRecorder) DelPrivateData(collection, key interface{}) *gomock.Call

DelPrivateData indicates an expected call of DelPrivateData

func (*MockChaincodeStubInterfaceMockRecorder) DelState

func (mr *MockChaincodeStubInterfaceMockRecorder) DelState(key interface{}) *gomock.Call

DelState indicates an expected call of DelState

func (*MockChaincodeStubInterfaceMockRecorder) GetArgs

GetArgs indicates an expected call of GetArgs

func (*MockChaincodeStubInterfaceMockRecorder) GetArgsSlice

GetArgsSlice indicates an expected call of GetArgsSlice

func (*MockChaincodeStubInterfaceMockRecorder) GetBinding

GetBinding indicates an expected call of GetBinding

func (*MockChaincodeStubInterfaceMockRecorder) GetChannelID

GetChannelID indicates an expected call of GetChannelID

func (*MockChaincodeStubInterfaceMockRecorder) GetCreator

GetCreator indicates an expected call of GetCreator

func (*MockChaincodeStubInterfaceMockRecorder) GetDecorations

func (mr *MockChaincodeStubInterfaceMockRecorder) GetDecorations() *gomock.Call

GetDecorations indicates an expected call of GetDecorations

func (*MockChaincodeStubInterfaceMockRecorder) GetFunctionAndParameters

func (mr *MockChaincodeStubInterfaceMockRecorder) GetFunctionAndParameters() *gomock.Call

GetFunctionAndParameters indicates an expected call of GetFunctionAndParameters

func (*MockChaincodeStubInterfaceMockRecorder) GetHistoryForKey

func (mr *MockChaincodeStubInterfaceMockRecorder) GetHistoryForKey(key interface{}) *gomock.Call

GetHistoryForKey indicates an expected call of GetHistoryForKey

func (*MockChaincodeStubInterfaceMockRecorder) GetPrivateData

func (mr *MockChaincodeStubInterfaceMockRecorder) GetPrivateData(collection, key interface{}) *gomock.Call

GetPrivateData indicates an expected call of GetPrivateData

func (*MockChaincodeStubInterfaceMockRecorder) GetPrivateDataByPartialCompositeKey

func (mr *MockChaincodeStubInterfaceMockRecorder) GetPrivateDataByPartialCompositeKey(collection, objectType, keys interface{}) *gomock.Call

GetPrivateDataByPartialCompositeKey indicates an expected call of GetPrivateDataByPartialCompositeKey

func (*MockChaincodeStubInterfaceMockRecorder) GetPrivateDataByRange

func (mr *MockChaincodeStubInterfaceMockRecorder) GetPrivateDataByRange(collection, startKey, endKey interface{}) *gomock.Call

GetPrivateDataByRange indicates an expected call of GetPrivateDataByRange

func (*MockChaincodeStubInterfaceMockRecorder) GetPrivateDataQueryResult

func (mr *MockChaincodeStubInterfaceMockRecorder) GetPrivateDataQueryResult(collection, query interface{}) *gomock.Call

GetPrivateDataQueryResult indicates an expected call of GetPrivateDataQueryResult

func (*MockChaincodeStubInterfaceMockRecorder) GetPrivateDataValidationParameter

func (mr *MockChaincodeStubInterfaceMockRecorder) GetPrivateDataValidationParameter(collection, key interface{}) *gomock.Call

GetPrivateDataValidationParameter indicates an expected call of GetPrivateDataValidationParameter

func (*MockChaincodeStubInterfaceMockRecorder) GetQueryResult

func (mr *MockChaincodeStubInterfaceMockRecorder) GetQueryResult(query interface{}) *gomock.Call

GetQueryResult indicates an expected call of GetQueryResult

func (*MockChaincodeStubInterfaceMockRecorder) GetQueryResultWithPagination

func (mr *MockChaincodeStubInterfaceMockRecorder) GetQueryResultWithPagination(query, pageSize, bookmark interface{}) *gomock.Call

GetQueryResultWithPagination indicates an expected call of GetQueryResultWithPagination

func (*MockChaincodeStubInterfaceMockRecorder) GetSignedProposal

func (mr *MockChaincodeStubInterfaceMockRecorder) GetSignedProposal() *gomock.Call

GetSignedProposal indicates an expected call of GetSignedProposal

func (*MockChaincodeStubInterfaceMockRecorder) GetState

func (mr *MockChaincodeStubInterfaceMockRecorder) GetState(key interface{}) *gomock.Call

GetState indicates an expected call of GetState

func (*MockChaincodeStubInterfaceMockRecorder) GetStateByPartialCompositeKey

func (mr *MockChaincodeStubInterfaceMockRecorder) GetStateByPartialCompositeKey(objectType, keys interface{}) *gomock.Call

GetStateByPartialCompositeKey indicates an expected call of GetStateByPartialCompositeKey

func (*MockChaincodeStubInterfaceMockRecorder) GetStateByPartialCompositeKeyWithPagination

func (mr *MockChaincodeStubInterfaceMockRecorder) GetStateByPartialCompositeKeyWithPagination(objectType, keys, pageSize, bookmark interface{}) *gomock.Call

GetStateByPartialCompositeKeyWithPagination indicates an expected call of GetStateByPartialCompositeKeyWithPagination

func (*MockChaincodeStubInterfaceMockRecorder) GetStateByRange

func (mr *MockChaincodeStubInterfaceMockRecorder) GetStateByRange(startKey, endKey interface{}) *gomock.Call

GetStateByRange indicates an expected call of GetStateByRange

func (*MockChaincodeStubInterfaceMockRecorder) GetStateByRangeWithPagination

func (mr *MockChaincodeStubInterfaceMockRecorder) GetStateByRangeWithPagination(startKey, endKey, pageSize, bookmark interface{}) *gomock.Call

GetStateByRangeWithPagination indicates an expected call of GetStateByRangeWithPagination

func (*MockChaincodeStubInterfaceMockRecorder) GetStateValidationParameter

func (mr *MockChaincodeStubInterfaceMockRecorder) GetStateValidationParameter(key interface{}) *gomock.Call

GetStateValidationParameter indicates an expected call of GetStateValidationParameter

func (*MockChaincodeStubInterfaceMockRecorder) GetStringArgs

func (mr *MockChaincodeStubInterfaceMockRecorder) GetStringArgs() *gomock.Call

GetStringArgs indicates an expected call of GetStringArgs

func (*MockChaincodeStubInterfaceMockRecorder) GetTransient

GetTransient indicates an expected call of GetTransient

func (*MockChaincodeStubInterfaceMockRecorder) GetTxID

GetTxID indicates an expected call of GetTxID

func (*MockChaincodeStubInterfaceMockRecorder) GetTxTimestamp

func (mr *MockChaincodeStubInterfaceMockRecorder) GetTxTimestamp() *gomock.Call

GetTxTimestamp indicates an expected call of GetTxTimestamp

func (*MockChaincodeStubInterfaceMockRecorder) InvokeChaincode

func (mr *MockChaincodeStubInterfaceMockRecorder) InvokeChaincode(chaincodeName, args, channel interface{}) *gomock.Call

InvokeChaincode indicates an expected call of InvokeChaincode

func (*MockChaincodeStubInterfaceMockRecorder) PutPrivateData

func (mr *MockChaincodeStubInterfaceMockRecorder) PutPrivateData(collection, key, value interface{}) *gomock.Call

PutPrivateData indicates an expected call of PutPrivateData

func (*MockChaincodeStubInterfaceMockRecorder) PutState

func (mr *MockChaincodeStubInterfaceMockRecorder) PutState(key, value interface{}) *gomock.Call

PutState indicates an expected call of PutState

func (*MockChaincodeStubInterfaceMockRecorder) SetEvent

func (mr *MockChaincodeStubInterfaceMockRecorder) SetEvent(name, payload interface{}) *gomock.Call

SetEvent indicates an expected call of SetEvent

func (*MockChaincodeStubInterfaceMockRecorder) SetPrivateDataValidationParameter

func (mr *MockChaincodeStubInterfaceMockRecorder) SetPrivateDataValidationParameter(collection, key, ep interface{}) *gomock.Call

SetPrivateDataValidationParameter indicates an expected call of SetPrivateDataValidationParameter

func (*MockChaincodeStubInterfaceMockRecorder) SetStateValidationParameter

func (mr *MockChaincodeStubInterfaceMockRecorder) SetStateValidationParameter(key, ep interface{}) *gomock.Call

SetStateValidationParameter indicates an expected call of SetStateValidationParameter

func (*MockChaincodeStubInterfaceMockRecorder) SplitCompositeKey

func (mr *MockChaincodeStubInterfaceMockRecorder) SplitCompositeKey(compositeKey interface{}) *gomock.Call

SplitCompositeKey indicates an expected call of SplitCompositeKey

type MockCommonIteratorInterface

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

MockCommonIteratorInterface is a mock of CommonIteratorInterface interface

func NewMockCommonIteratorInterface

func NewMockCommonIteratorInterface(ctrl *gomock.Controller) *MockCommonIteratorInterface

NewMockCommonIteratorInterface creates a new mock instance

func (*MockCommonIteratorInterface) Close

Close mocks base method

func (*MockCommonIteratorInterface) EXPECT

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

func (*MockCommonIteratorInterface) HasNext

func (m *MockCommonIteratorInterface) HasNext() bool

HasNext mocks base method

type MockCommonIteratorInterfaceMockRecorder

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

MockCommonIteratorInterfaceMockRecorder is the mock recorder for MockCommonIteratorInterface

func (*MockCommonIteratorInterfaceMockRecorder) Close

Close indicates an expected call of Close

func (*MockCommonIteratorInterfaceMockRecorder) HasNext

HasNext indicates an expected call of HasNext

type MockHistoryQueryIteratorInterface

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

MockHistoryQueryIteratorInterface is a mock of HistoryQueryIteratorInterface interface

func NewMockHistoryQueryIteratorInterface

func NewMockHistoryQueryIteratorInterface(ctrl *gomock.Controller) *MockHistoryQueryIteratorInterface

NewMockHistoryQueryIteratorInterface creates a new mock instance

func (*MockHistoryQueryIteratorInterface) Close

Close mocks base method

func (*MockHistoryQueryIteratorInterface) EXPECT

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

func (*MockHistoryQueryIteratorInterface) HasNext

HasNext mocks base method

func (*MockHistoryQueryIteratorInterface) Next

Next mocks base method

type MockHistoryQueryIteratorInterfaceMockRecorder

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

MockHistoryQueryIteratorInterfaceMockRecorder is the mock recorder for MockHistoryQueryIteratorInterface

func (*MockHistoryQueryIteratorInterfaceMockRecorder) Close

Close indicates an expected call of Close

func (*MockHistoryQueryIteratorInterfaceMockRecorder) HasNext

HasNext indicates an expected call of HasNext

func (*MockHistoryQueryIteratorInterfaceMockRecorder) Next

Next indicates an expected call of Next

type MockMockQueryIteratorInterface

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

MockMockQueryIteratorInterface is a mock of MockQueryIteratorInterface interface

func NewMockMockQueryIteratorInterface

func NewMockMockQueryIteratorInterface(ctrl *gomock.Controller) *MockMockQueryIteratorInterface

NewMockMockQueryIteratorInterface creates a new mock instance

func (*MockMockQueryIteratorInterface) Close

Close mocks base method

func (*MockMockQueryIteratorInterface) EXPECT

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

func (*MockMockQueryIteratorInterface) HasNext

func (m *MockMockQueryIteratorInterface) HasNext() bool

HasNext mocks base method

func (*MockMockQueryIteratorInterface) Next

Next mocks base method

type MockMockQueryIteratorInterfaceMockRecorder

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

MockMockQueryIteratorInterfaceMockRecorder is the mock recorder for MockMockQueryIteratorInterface

func (*MockMockQueryIteratorInterfaceMockRecorder) Close

Close indicates an expected call of Close

func (*MockMockQueryIteratorInterfaceMockRecorder) HasNext

HasNext indicates an expected call of HasNext

func (*MockMockQueryIteratorInterfaceMockRecorder) Next

Next indicates an expected call of Next

type MockStateQueryIteratorInterface

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

MockStateQueryIteratorInterface is a mock of StateQueryIteratorInterface interface

func MakeJSONStateIterator

func MakeJSONStateIterator(ctrl *gomock.Controller, namespace string,
	keyValPairs ...interface{}) *MockStateQueryIteratorInterface

MakeJSONStateIterator .

func NewMockStateQueryIteratorInterface

func NewMockStateQueryIteratorInterface(ctrl *gomock.Controller) *MockStateQueryIteratorInterface

NewMockStateQueryIteratorInterface creates a new mock instance

func (*MockStateQueryIteratorInterface) Close

Close mocks base method

func (*MockStateQueryIteratorInterface) EXPECT

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

func (*MockStateQueryIteratorInterface) HasNext

HasNext mocks base method

func (*MockStateQueryIteratorInterface) Next

Next mocks base method

type MockStateQueryIteratorInterfaceMockRecorder

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

MockStateQueryIteratorInterfaceMockRecorder is the mock recorder for MockStateQueryIteratorInterface

func (*MockStateQueryIteratorInterfaceMockRecorder) Close

Close indicates an expected call of Close

func (*MockStateQueryIteratorInterfaceMockRecorder) HasNext

HasNext indicates an expected call of HasNext

func (*MockStateQueryIteratorInterfaceMockRecorder) Next

Next indicates an expected call of Next

Jump to

Keyboard shortcuts

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