Documentation ¶
Overview ¶
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 MockITransaction ¶
type MockITransaction struct {
// contains filtered or unexported fields
}
MockITransaction is a mock of ITransaction interface
func NewMockITransaction ¶
func NewMockITransaction(ctrl *gomock.Controller) *MockITransaction
NewMockITransaction creates a new mock instance
func (*MockITransaction) Commit ¶
func (m *MockITransaction) Commit() error
Commit mocks base method
func (*MockITransaction) EXPECT ¶
func (m *MockITransaction) EXPECT() *MockITransactionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockITransaction) Rollback ¶
func (m *MockITransaction) Rollback() error
Rollback mocks base method
type MockITransactionBegin ¶
type MockITransactionBegin struct {
// contains filtered or unexported fields
}
MockITransactionBegin is a mock of ITransactionBegin interface
func NewMockITransactionBegin ¶
func NewMockITransactionBegin(ctrl *gomock.Controller) *MockITransactionBegin
NewMockITransactionBegin creates a new mock instance
func (*MockITransactionBegin) Begin ¶
func (m *MockITransactionBegin) Begin() (transactions.ITransaction, error)
Begin mocks base method
func (*MockITransactionBegin) EXPECT ¶
func (m *MockITransactionBegin) EXPECT() *MockITransactionBeginMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockITransactionBeginMockRecorder ¶
type MockITransactionBeginMockRecorder struct {
// contains filtered or unexported fields
}
MockITransactionBeginMockRecorder is the mock recorder for MockITransactionBegin
func (*MockITransactionBeginMockRecorder) Begin ¶
func (mr *MockITransactionBeginMockRecorder) Begin() *gomock.Call
Begin indicates an expected call of Begin
type MockITransactionMockRecorder ¶
type MockITransactionMockRecorder struct {
// contains filtered or unexported fields
}
MockITransactionMockRecorder is the mock recorder for MockITransaction
func (*MockITransactionMockRecorder) Commit ¶
func (mr *MockITransactionMockRecorder) Commit() *gomock.Call
Commit indicates an expected call of Commit
func (*MockITransactionMockRecorder) Rollback ¶
func (mr *MockITransactionMockRecorder) Rollback() *gomock.Call
Rollback indicates an expected call of Rollback