mock_repository_locality

package
v0.0.0-...-e85e4ab Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RepositoryLocality

type RepositoryLocality struct {
	mock.Mock
}

RepositoryLocality is an autogenerated mock type for the RepositoryLocality type

func NewRepositoryLocality

func NewRepositoryLocality(t mockConstructorTestingTNewRepositoryLocality) *RepositoryLocality

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

func (*RepositoryLocality) GetAllCarriesLocality

func (_m *RepositoryLocality) GetAllCarriesLocality() ([]domain.Locality, error)

GetAllCarriesLocality provides a mock function with given fields:

func (*RepositoryLocality) GetCarryLocalityByID

func (_m *RepositoryLocality) GetCarryLocalityByID(id int) (domain.Locality, error)

GetCarryLocalityByID provides a mock function with given fields: id

Jump to

Keyboard shortcuts

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