mocks

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: MIT Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInvoiceSettingsStore

type MockInvoiceSettingsStore struct {
	mock.Mock
}

MockInvoiceSettingsStore is an autogenerated mock type for the InvoiceSettingsStore type

func NewMockInvoiceSettingsStore

func NewMockInvoiceSettingsStore(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockInvoiceSettingsStore

NewMockInvoiceSettingsStore creates a new instance of MockInvoiceSettingsStore. 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 (*MockInvoiceSettingsStore) EXPECT

func (*MockInvoiceSettingsStore) InvoiceSettings

func (_mock *MockInvoiceSettingsStore) InvoiceSettings() orders.InvoiceSettings

InvoiceSettings provides a mock function for the type MockInvoiceSettingsStore

func (*MockInvoiceSettingsStore) SetInvoiceSettings

func (_mock *MockInvoiceSettingsStore) SetInvoiceSettings(settings orders.InvoiceSettings) error

SetInvoiceSettings provides a mock function for the type MockInvoiceSettingsStore

type MockInvoiceSettingsStore_Expecter

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

func (*MockInvoiceSettingsStore_Expecter) InvoiceSettings

InvoiceSettings is a helper method to define mock.On call

func (*MockInvoiceSettingsStore_Expecter) SetInvoiceSettings

SetInvoiceSettings is a helper method to define mock.On call

  • settings orders.InvoiceSettings

type MockInvoiceSettingsStore_InvoiceSettings_Call

type MockInvoiceSettingsStore_InvoiceSettings_Call struct {
	*mock.Call
}

MockInvoiceSettingsStore_InvoiceSettings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InvoiceSettings'

func (*MockInvoiceSettingsStore_InvoiceSettings_Call) Return

func (_c *MockInvoiceSettingsStore_InvoiceSettings_Call) Return(invoiceSettings orders.InvoiceSettings) *MockInvoiceSettingsStore_InvoiceSettings_Call

func (*MockInvoiceSettingsStore_InvoiceSettings_Call) Run

func (*MockInvoiceSettingsStore_InvoiceSettings_Call) RunAndReturn

func (_c *MockInvoiceSettingsStore_InvoiceSettings_Call) RunAndReturn(run func() orders.InvoiceSettings) *MockInvoiceSettingsStore_InvoiceSettings_Call

type MockInvoiceSettingsStore_SetInvoiceSettings_Call

type MockInvoiceSettingsStore_SetInvoiceSettings_Call struct {
	*mock.Call
}

MockInvoiceSettingsStore_SetInvoiceSettings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetInvoiceSettings'

func (*MockInvoiceSettingsStore_SetInvoiceSettings_Call) Return

func (*MockInvoiceSettingsStore_SetInvoiceSettings_Call) Run

func (*MockInvoiceSettingsStore_SetInvoiceSettings_Call) RunAndReturn

func (_c *MockInvoiceSettingsStore_SetInvoiceSettings_Call) RunAndReturn(run func(settings orders.InvoiceSettings) error) *MockInvoiceSettingsStore_SetInvoiceSettings_Call

Jump to

Keyboard shortcuts

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