Documentation
¶
Index ¶
- type MockInvoiceSettingsStore
- type MockInvoiceSettingsStore_Expecter
- type MockInvoiceSettingsStore_InvoiceSettings_Call
- func (_c *MockInvoiceSettingsStore_InvoiceSettings_Call) Return(invoiceSettings orders.InvoiceSettings) *MockInvoiceSettingsStore_InvoiceSettings_Call
- func (_c *MockInvoiceSettingsStore_InvoiceSettings_Call) Run(run func()) *MockInvoiceSettingsStore_InvoiceSettings_Call
- func (_c *MockInvoiceSettingsStore_InvoiceSettings_Call) RunAndReturn(run func() orders.InvoiceSettings) *MockInvoiceSettingsStore_InvoiceSettings_Call
- type MockInvoiceSettingsStore_SetInvoiceSettings_Call
- func (_c *MockInvoiceSettingsStore_SetInvoiceSettings_Call) Return(err error) *MockInvoiceSettingsStore_SetInvoiceSettings_Call
- func (_c *MockInvoiceSettingsStore_SetInvoiceSettings_Call) Run(run func(settings orders.InvoiceSettings)) *MockInvoiceSettingsStore_SetInvoiceSettings_Call
- func (_c *MockInvoiceSettingsStore_SetInvoiceSettings_Call) RunAndReturn(run func(settings orders.InvoiceSettings) error) *MockInvoiceSettingsStore_SetInvoiceSettings_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInvoiceSettingsStore ¶
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 (_m *MockInvoiceSettingsStore) EXPECT() *MockInvoiceSettingsStore_Expecter
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 ¶
func (_e *MockInvoiceSettingsStore_Expecter) InvoiceSettings() *MockInvoiceSettingsStore_InvoiceSettings_Call
InvoiceSettings is a helper method to define mock.On call
func (*MockInvoiceSettingsStore_Expecter) SetInvoiceSettings ¶
func (_e *MockInvoiceSettingsStore_Expecter) SetInvoiceSettings(settings any) *MockInvoiceSettingsStore_SetInvoiceSettings_Call
SetInvoiceSettings is a helper method to define mock.On call
- settings orders.InvoiceSettings
type MockInvoiceSettingsStore_InvoiceSettings_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 (_c *MockInvoiceSettingsStore_InvoiceSettings_Call) Run(run func()) *MockInvoiceSettingsStore_InvoiceSettings_Call
func (*MockInvoiceSettingsStore_InvoiceSettings_Call) RunAndReturn ¶
func (_c *MockInvoiceSettingsStore_InvoiceSettings_Call) RunAndReturn(run func() orders.InvoiceSettings) *MockInvoiceSettingsStore_InvoiceSettings_Call
type MockInvoiceSettingsStore_SetInvoiceSettings_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 (_c *MockInvoiceSettingsStore_SetInvoiceSettings_Call) Return(err error) *MockInvoiceSettingsStore_SetInvoiceSettings_Call
func (*MockInvoiceSettingsStore_SetInvoiceSettings_Call) Run ¶
func (_c *MockInvoiceSettingsStore_SetInvoiceSettings_Call) Run(run func(settings orders.InvoiceSettings)) *MockInvoiceSettingsStore_SetInvoiceSettings_Call
func (*MockInvoiceSettingsStore_SetInvoiceSettings_Call) RunAndReturn ¶
func (_c *MockInvoiceSettingsStore_SetInvoiceSettings_Call) RunAndReturn(run func(settings orders.InvoiceSettings) error) *MockInvoiceSettingsStore_SetInvoiceSettings_Call