mocks

package
v0.0.0-...-3e56ed0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: GPL-3.0 Imports: 4 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 MockAccountRepository

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

MockAccountRepository is a mock of AccountRepository interface.

func NewMockAccountRepository

func NewMockAccountRepository(ctrl *gomock.Controller) *MockAccountRepository

NewMockAccountRepository creates a new mock instance.

func (*MockAccountRepository) EXPECT

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

func (*MockAccountRepository) GetOne

func (m *MockAccountRepository) GetOne(ctx context.Context, accountID string) (*domain.Account, error)

GetOne mocks base method.

func (*MockAccountRepository) Save

func (m *MockAccountRepository) Save(ctx context.Context, account *domain.Account) error

Save mocks base method.

type MockAccountRepositoryMockRecorder

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

MockAccountRepositoryMockRecorder is the mock recorder for MockAccountRepository.

func (*MockAccountRepositoryMockRecorder) GetOne

func (mr *MockAccountRepositoryMockRecorder) GetOne(ctx, accountID interface{}) *gomock.Call

GetOne indicates an expected call of GetOne.

func (*MockAccountRepositoryMockRecorder) Save

func (mr *MockAccountRepositoryMockRecorder) Save(ctx, account interface{}) *gomock.Call

Save indicates an expected call of Save.

Jump to

Keyboard shortcuts

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