mocks

package
v0.0.0-...-8499f05 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 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) Close

func (_m *Repository) Close()

Close provides a mock function with given fields:

func (*Repository) Create

func (_m *Repository) Create(_a0 *taxobj.TaxObject) error

Create provides a mock function with given fields: _a0

func (*Repository) GetAll

func (_m *Repository) GetAll() ([]taxobj.TaxObject, error)

GetAll provides a mock function with given fields:

func (*Repository) Migrate

func (_m *Repository) Migrate() error

Migrate provides a mock function with given fields:

type Usecase

type Usecase struct {
	mock.Mock
}

Usecase is an autogenerated mock type for the Usecase type

func (*Usecase) CreateTaxObject

func (_m *Usecase) CreateTaxObject(_a0 *taxobj.TaxObject) error

CreateTaxObject provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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