statemock

package
v0.0.78 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package statemock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockState

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

MockState is a mock of State interface.

func NewMockState

func NewMockState(ctrl *gomock.Controller) *MockState

NewMockState creates a new mock instance.

func (*MockState) DeleteMessageRead

func (m *MockState) DeleteMessageRead(messageID mail.ID) error

DeleteMessageRead mocks base method.

func (*MockState) EXPECT

func (m *MockState) EXPECT() *MockStateMockRecorder

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

func (*MockState) GetReadStatus

func (m *MockState) GetReadStatus(messageID mail.ID) (bool, error)

GetReadStatus mocks base method.

func (*MockState) GetTransactions

func (m *MockState) GetTransactions(protocol, network string, address []byte, skip, limit int32) ([]stores.Transaction, error)

GetTransactions mocks base method.

func (*MockState) PutMessageRead

func (m *MockState) PutMessageRead(messageID mail.ID) error

PutMessageRead mocks base method.

func (*MockState) PutTransaction

func (m *MockState) PutTransaction(protocol, network string, address []byte, tx stores.Transaction) error

PutTransaction mocks base method.

type MockStateMockRecorder

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

MockStateMockRecorder is the mock recorder for MockState.

func (*MockStateMockRecorder) DeleteMessageRead

func (mr *MockStateMockRecorder) DeleteMessageRead(messageID interface{}) *gomock.Call

DeleteMessageRead indicates an expected call of DeleteMessageRead.

func (*MockStateMockRecorder) GetReadStatus

func (mr *MockStateMockRecorder) GetReadStatus(messageID interface{}) *gomock.Call

GetReadStatus indicates an expected call of GetReadStatus.

func (*MockStateMockRecorder) GetTransactions

func (mr *MockStateMockRecorder) GetTransactions(protocol, network, address, skip, limit interface{}) *gomock.Call

GetTransactions indicates an expected call of GetTransactions.

func (*MockStateMockRecorder) PutMessageRead

func (mr *MockStateMockRecorder) PutMessageRead(messageID interface{}) *gomock.Call

PutMessageRead indicates an expected call of PutMessageRead.

func (*MockStateMockRecorder) PutTransaction

func (mr *MockStateMockRecorder) PutTransaction(protocol, network, address, tx interface{}) *gomock.Call

PutTransaction indicates an expected call of PutTransaction.

Jump to

Keyboard shortcuts

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