mock_repository

package
v0.5.20 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_repository is a generated GoMock package.

Package mock_repository 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) EXPECT

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

func (*MockITransaction) RTransaction

func (m *MockITransaction) RTransaction(arg0 context.Context, arg1 func(context.Context) error) error

RTransaction mocks base method.

func (*MockITransaction) Transaction

func (m *MockITransaction) Transaction(arg0 context.Context, arg1 func(context.Context) error) error

Transaction mocks base method.

type MockITransactionMockRecorder

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

MockITransactionMockRecorder is the mock recorder for MockITransaction.

func (*MockITransactionMockRecorder) RTransaction

func (mr *MockITransactionMockRecorder) RTransaction(arg0, arg1 interface{}) *gomock.Call

RTransaction indicates an expected call of RTransaction.

func (*MockITransactionMockRecorder) Transaction

func (mr *MockITransactionMockRecorder) Transaction(arg0, arg1 interface{}) *gomock.Call

Transaction indicates an expected call of Transaction.

type MockIUser

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

MockIUser is a mock of IUser interface.

func NewMockIUser

func NewMockIUser(ctrl *gomock.Controller) *MockIUser

NewMockIUser creates a new mock instance.

func (*MockIUser) Create

func (m *MockIUser) Create(ctx context.Context, user *domain.User) error

Create mocks base method.

func (*MockIUser) EXPECT

func (m *MockIUser) EXPECT() *MockIUserMockRecorder

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

func (*MockIUser) GetAllUser

func (m *MockIUser) GetAllUser(ctx context.Context) ([]values.UserName, error)

GetAllUser mocks base method.

func (*MockIUser) GetPassword

func (m *MockIUser) GetPassword(ctx context.Context, userName values.UserName) (values.HashedPassword, error)

GetPassword mocks base method.

type MockIUserMockRecorder

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

MockIUserMockRecorder is the mock recorder for MockIUser.

func (*MockIUserMockRecorder) Create

func (mr *MockIUserMockRecorder) Create(ctx, user interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockIUserMockRecorder) GetAllUser

func (mr *MockIUserMockRecorder) GetAllUser(ctx interface{}) *gomock.Call

GetAllUser indicates an expected call of GetAllUser.

func (*MockIUserMockRecorder) GetPassword

func (mr *MockIUserMockRecorder) GetPassword(ctx, userName interface{}) *gomock.Call

GetPassword indicates an expected call of GetPassword.

Jump to

Keyboard shortcuts

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