mocks

package
v0.0.0-...-bffa35e Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2019 License: MIT Imports: 3 Imported by: 0

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

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

Begin mocks base method

func (*MockITransactionBegin) EXPECT

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

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

Commit indicates an expected call of Commit

func (*MockITransactionMockRecorder) Rollback

func (mr *MockITransactionMockRecorder) Rollback() *gomock.Call

Rollback indicates an expected call of Rollback

Jump to

Keyboard shortcuts

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