mock

package
v1.25.0-beta.10 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRepository

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

MockRepository is a mock of Repository interface.

func NewMockRepository

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance.

func (*MockRepository) EXPECT

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

func (*MockRepository) GetAccountsByAlias

func (m *MockRepository) GetAccountsByAlias(ctx context.Context, token string, organizationID, ledgerID uuid.UUID, aliases []string) (*account.AccountsResponse, error)

GetAccountsByAlias mocks base method.

func (*MockRepository) GetAccountsByIds

func (m *MockRepository) GetAccountsByIds(ctx context.Context, token string, organizationID, ledgerID uuid.UUID, ids []string) (*account.AccountsResponse, error)

GetAccountsByIds mocks base method.

func (*MockRepository) UpdateAccounts

func (m *MockRepository) UpdateAccounts(ctx context.Context, token string, accounts []*account.Account) (*account.AccountsResponse, error)

UpdateAccounts mocks base method.

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository.

func (*MockRepositoryMockRecorder) GetAccountsByAlias

func (mr *MockRepositoryMockRecorder) GetAccountsByAlias(ctx, token, organizationID, ledgerID, aliases any) *gomock.Call

GetAccountsByAlias indicates an expected call of GetAccountsByAlias.

func (*MockRepositoryMockRecorder) GetAccountsByIds

func (mr *MockRepositoryMockRecorder) GetAccountsByIds(ctx, token, organizationID, ledgerID, ids any) *gomock.Call

GetAccountsByIds indicates an expected call of GetAccountsByIds.

func (*MockRepositoryMockRecorder) UpdateAccounts

func (mr *MockRepositoryMockRecorder) UpdateAccounts(ctx, token, accounts any) *gomock.Call

UpdateAccounts indicates an expected call of UpdateAccounts.

Jump to

Keyboard shortcuts

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