mocks

package
v0.0.0-...-e4a3b16 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 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 Repository

type Repository struct {
	mock.Mock
}

Repository is an autogenerated mock type for the Repository type

func (*Repository) CreateCheckout

func (_m *Repository) CreateCheckout(_a0 checkout.Checkout) error

CreateCheckout provides a mock function with given fields: _a0

func (*Repository) FindCheckoutById

func (_m *Repository) FindCheckoutById(_a0 int) (*checkout.Checkout, error)

FindCheckoutById provides a mock function with given fields: _a0

func (*Repository) UpdateCheckout

func (_m *Repository) UpdateCheckout(_a0 checkout.Checkout) error

UpdateCheckout provides a mock function with given fields: _a0

type Service

type Service struct {
	mock.Mock
}

Service is an autogenerated mock type for the Service type

func (*Service) CreateCheckout

func (_m *Service) CreateCheckout(_a0 int, _a1 checkout.CreateCheckoutData) error

CreateCheckout provides a mock function with given fields: _a0, _a1

func (*Service) UpdateCheckout

func (_m *Service) UpdateCheckout(_a0 int, _a1 checkout.UpdateCheckout) error

UpdateCheckout provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

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