mocks

package
v0.0.0-...-8f95268 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	mock.Mock
}

Service is an autogenerated mock type for the Service type

func (*Service) Deposit

func (_m *Service) Deposit(ctx context.Context, accountID string, amount int64) (string, error)

Deposit provides a mock function with given fields: ctx, accountID, amount

func (*Service) GetAccount

func (_m *Service) GetAccount(ctx context.Context, accountID string) (*bank.Account, error)

GetAccount provides a mock function with given fields: ctx, accountID

func (*Service) Transfer

func (_m *Service) Transfer(ctx context.Context, from string, to string, amount int64) (string, error)

Transfer provides a mock function with given fields: ctx, from, to, amount

func (*Service) Withdraw

func (_m *Service) Withdraw(ctx context.Context, accountID string, amount int64) (string, error)

Withdraw provides a mock function with given fields: ctx, accountID, amount

Jump to

Keyboard shortcuts

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