mocks

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BulkLoader

type BulkLoader struct {
	mock.Mock
}

BulkLoader is an autogenerated mock type for the BulkLoader type

func (*BulkLoader) LoadCustomers

func (_m *BulkLoader) LoadCustomers() (map[int]model.Customer, error)

LoadCustomers provides a mock function with given fields:

func (*BulkLoader) LoadCustomersAndProducts

func (_m *BulkLoader) LoadCustomersAndProducts() (map[int]model.Customer, map[string]model.Product, error)

LoadCustomersAndProducts provides a mock function with given fields:

func (*BulkLoader) LoadMonthInvoices

func (_m *BulkLoader) LoadMonthInvoices(yearMonth model.YearMonth) ([]model.Invoice, error)

LoadMonthInvoices provides a mock function with given fields: yearMonth

func (*BulkLoader) LoadMonthInvoicesByPaymentType

func (_m *BulkLoader) LoadMonthInvoicesByPaymentType(yearMonth model.YearMonth) (map[payment_type.PaymentType][]model.Invoice, error)

LoadMonthInvoicesByPaymentType provides a mock function with given fields: yearMonth

func (*BulkLoader) LoadMonthInvoicesCustomersAndProducts

func (_m *BulkLoader) LoadMonthInvoicesCustomersAndProducts(yearMonth model.YearMonth) ([]model.Invoice, map[int]model.Customer, map[string]model.Product, error)

LoadMonthInvoicesCustomersAndProducts provides a mock function with given fields: yearMonth

func (*BulkLoader) LoadProducts

func (_m *BulkLoader) LoadProducts() (map[string]model.Product, error)

LoadProducts provides a mock function with given fields:

Jump to

Keyboard shortcuts

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