mocks

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountsService

type AccountsService struct {
	mock.Mock
}

AccountsService is an autogenerated mock type for the AccountsService type

func NewAccountsService

func NewAccountsService(t interface {
	mock.TestingT
	Cleanup(func())
}) *AccountsService

NewAccountsService creates a new instance of AccountsService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AccountsService) GetAccountAmounts

func (_m *AccountsService) GetAccountAmounts(ctx context.Context, acc *accounts.Account, month string) (accounts.CurrencyAmounts, error)

GetAccountAmounts provides a mock function with given fields: ctx, acc, month

func (*AccountsService) GetUserAccounts

func (_m *AccountsService) GetUserAccounts(ctx context.Context, u *users.User) (accounts.AccountCollection, error)

GetUserAccounts provides a mock function with given fields: ctx, u

Jump to

Keyboard shortcuts

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