Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockRecord
- func (m *MockRecord) Body() []byte
- func (m *MockRecord) Commit(arg0 models.Transaction) error
- func (m *MockRecord) EXPECT() *MockRecordMockRecorder
- func (m *MockRecord) Equal(arg0 models.Record) bool
- func (m *MockRecord) Failed(arg0 models.Transaction) error
- func (m *MockRecord) ID() uuid.UUID
- func (m *MockRecord) Receipt() models.Receipt
- func (m *MockRecord) RecordID() string
- type MockRecordMockRecorder
- func (mr *MockRecordMockRecorder) Body() *gomock.Call
- func (mr *MockRecordMockRecorder) Commit(arg0 interface{}) *gomock.Call
- func (mr *MockRecordMockRecorder) Equal(arg0 interface{}) *gomock.Call
- func (mr *MockRecordMockRecorder) Failed(arg0 interface{}) *gomock.Call
- func (mr *MockRecordMockRecorder) ID() *gomock.Call
- func (mr *MockRecordMockRecorder) Receipt() *gomock.Call
- func (mr *MockRecordMockRecorder) RecordID() *gomock.Call
- type MockTransaction
- type MockTransactionMockRecorder
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) 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) Receipt ¶
func (m *MockRecord) Receipt() models.Receipt
Receipt 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 ¶
func (mr *MockRecordMockRecorder) ID() *gomock.Call
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 ¶
func (m *MockTransaction) EXPECT() *MockTransactionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockTransactionMockRecorder ¶
type MockTransactionMockRecorder struct {
// contains filtered or unexported fields
}
MockTransactionMockRecorder is the mock recorder for MockTransaction
func (*MockTransactionMockRecorder) Flush ¶
func (mr *MockTransactionMockRecorder) Flush() *gomock.Call
Flush indicates an expected call of Flush
func (*MockTransactionMockRecorder) Len ¶
func (mr *MockTransactionMockRecorder) Len() *gomock.Call
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