mocks

package
v0.0.0-...-838a961 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaxService

type TaxService struct {
	mock.Mock
}

TaxService is an autogenerated mock type for the TaxService type

func NewTaxService

func NewTaxService(t mockConstructorTestingTNewTaxService) *TaxService

NewTaxService creates a new instance of TaxService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*TaxService) CreateOrUpdate

func (_m *TaxService) CreateOrUpdate(ctx context.Context, in *taxpb.TaxRate, opts ...client.CallOption) (*taxpb.TaxRate, error)

CreateOrUpdate provides a mock function with given fields: ctx, in, opts

func (*TaxService) DeleteRateById

func (_m *TaxService) DeleteRateById(ctx context.Context, in *taxpb.DeleteRateRequest, opts ...client.CallOption) (*taxpb.DeleteRateResponse, error)

DeleteRateById provides a mock function with given fields: ctx, in, opts

func (*TaxService) GetRate

func (_m *TaxService) GetRate(ctx context.Context, in *taxpb.GeoIdentity, opts ...client.CallOption) (*taxpb.TaxRate, error)

GetRate provides a mock function with given fields: ctx, in, opts

func (*TaxService) GetRates

GetRates provides a mock function with given fields: ctx, in, opts

type TaxServiceHandler

type TaxServiceHandler struct {
	mock.Mock
}

TaxServiceHandler is an autogenerated mock type for the TaxServiceHandler type

func NewTaxServiceHandler

func NewTaxServiceHandler(t mockConstructorTestingTNewTaxServiceHandler) *TaxServiceHandler

NewTaxServiceHandler creates a new instance of TaxServiceHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*TaxServiceHandler) CreateOrUpdate

func (_m *TaxServiceHandler) CreateOrUpdate(_a0 context.Context, _a1 *taxpb.TaxRate, _a2 *taxpb.TaxRate) error

CreateOrUpdate provides a mock function with given fields: _a0, _a1, _a2

func (*TaxServiceHandler) DeleteRateById

DeleteRateById provides a mock function with given fields: _a0, _a1, _a2

func (*TaxServiceHandler) GetRate

func (_m *TaxServiceHandler) GetRate(_a0 context.Context, _a1 *taxpb.GeoIdentity, _a2 *taxpb.TaxRate) error

GetRate provides a mock function with given fields: _a0, _a1, _a2

func (*TaxServiceHandler) GetRates

GetRates provides a mock function with given fields: _a0, _a1, _a2

Jump to

Keyboard shortcuts

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