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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CurrencyService

type CurrencyService struct {
	mock.Mock
}

CurrencyService is an autogenerated mock type for the CurrencyService type

func NewCurrencyService

func NewCurrencyService(t interface {
	mock.TestingT
	Cleanup(func())
}) *CurrencyService

NewCurrencyService creates a new instance of CurrencyService. 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 (*CurrencyService) GetRate

func (_m *CurrencyService) GetRate(base accounts.Currency, target accounts.Currency, month string) float64

GetRate provides a mock function with given fields: base, target, month

Jump to

Keyboard shortcuts

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