mocks

package
v0.0.0-...-0bbd730 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2018 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRecord

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

MockRecord is a mock of Record interface

func NewMockRecord

func NewMockRecord(ctrl *gomock.Controller) *MockRecord

NewMockRecord creates a new mock instance

func (*MockRecord) Body

func (m *MockRecord) Body() []byte

Body mocks base method

func (*MockRecord) Commit

func (m *MockRecord) Commit(arg0 models.Transaction) error

Commit mocks base method

func (*MockRecord) EXPECT

func (m *MockRecord) EXPECT() *MockRecordMockRecorder

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

func (*MockRecord) Equal

func (m *MockRecord) Equal(arg0 models.Record) bool

Equal mocks base method

func (*MockRecord) Failed

func (m *MockRecord) Failed(arg0 models.Transaction) error

Failed mocks base method

func (*MockRecord) ID

func (m *MockRecord) ID() uuid.UUID

ID mocks base method

func (*MockRecord) Receipt

func (m *MockRecord) Receipt() models.Receipt

Receipt mocks base method

func (*MockRecord) RecordID

func (m *MockRecord) RecordID() string

RecordID mocks base method

type MockRecordMockRecorder

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

MockRecordMockRecorder is the mock recorder for MockRecord

func (*MockRecordMockRecorder) Body

func (mr *MockRecordMockRecorder) Body() *gomock.Call

Body indicates an expected call of Body

func (*MockRecordMockRecorder) Commit

func (mr *MockRecordMockRecorder) Commit(arg0 interface{}) *gomock.Call

Commit indicates an expected call of Commit

func (*MockRecordMockRecorder) Equal

func (mr *MockRecordMockRecorder) Equal(arg0 interface{}) *gomock.Call

Equal indicates an expected call of Equal

func (*MockRecordMockRecorder) Failed

func (mr *MockRecordMockRecorder) Failed(arg0 interface{}) *gomock.Call

Failed indicates an expected call of Failed

func (*MockRecordMockRecorder) ID

ID indicates an expected call of ID

func (*MockRecordMockRecorder) Receipt

func (mr *MockRecordMockRecorder) Receipt() *gomock.Call

Receipt indicates an expected call of Receipt

func (*MockRecordMockRecorder) RecordID

func (mr *MockRecordMockRecorder) RecordID() *gomock.Call

RecordID indicates an expected call of RecordID

type MockTransaction

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

MockTransaction is a mock of Transaction interface

func NewMockTransaction

func NewMockTransaction(ctrl *gomock.Controller) *MockTransaction

NewMockTransaction creates a new mock instance

func (*MockTransaction) EXPECT

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

func (*MockTransaction) Flush

func (m *MockTransaction) Flush() error

Flush mocks base method

func (*MockTransaction) Len

func (m *MockTransaction) Len() int

Len mocks base method

func (*MockTransaction) Push

func (m *MockTransaction) Push(arg0 uuid.UUID, arg1 models.Record) error

Push mocks base method

func (*MockTransaction) Walk

func (m *MockTransaction) Walk(arg0 func(uuid.UUID, models.Record) error) error

Walk mocks base method

type MockTransactionMockRecorder

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

MockTransactionMockRecorder is the mock recorder for MockTransaction

func (*MockTransactionMockRecorder) Flush

Flush indicates an expected call of Flush

func (*MockTransactionMockRecorder) Len

Len indicates an expected call of Len

func (*MockTransactionMockRecorder) Push

func (mr *MockTransactionMockRecorder) Push(arg0, arg1 interface{}) *gomock.Call

Push indicates an expected call of Push

func (*MockTransactionMockRecorder) Walk

func (mr *MockTransactionMockRecorder) Walk(arg0 interface{}) *gomock.Call

Walk indicates an expected call of Walk

Jump to

Keyboard shortcuts

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