mocks

package
v4.3.11 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	mock.Mock
}

Handler is an autogenerated mock type for the Handler type

func NewHandler

func NewHandler(t mockConstructorTestingTNewHandler) *Handler

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

func (*Handler) All

func (_m *Handler) All(v interface{}) error

All provides a mock function with given fields: v

func (*Handler) Bind

func (_m *Handler) Bind(v interface{}, id string) error

Bind provides a mock function with given fields: v, id

func (*Handler) Create

func (_m *Handler) Create(v interface{}) error

Create provides a mock function with given fields: v

func (*Handler) Delete

func (_m *Handler) Delete(v interface{}, id string) error

Delete provides a mock function with given fields: v, id

func (*Handler) FindBy added in v4.1.4

func (_m *Handler) FindBy(v interface{}, filters ...repositories.Filter) error

FindBy provides a mock function with given fields: v, filters

func (*Handler) Paginate

func (_m *Handler) Paginate(paginator *paginations.Pagination, result interface{}) paginations.Metadata

Paginate provides a mock function with given fields: paginator, result

func (*Handler) Repository

func (_m *Handler) Repository() repositories.Repository

Repository provides a mock function with given fields:

func (*Handler) Update

func (_m *Handler) Update(v interface{}, id string) error

Update provides a mock function with given fields: v, id

Jump to

Keyboard shortcuts

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