mocks

package
v0.0.0-...-60c21ee Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WasteWaterRepositoryInterface

type WasteWaterRepositoryInterface struct {
	mock.Mock
}

WasteWaterRepositoryInterface is an autogenerated mock type for the WasteWaterRepositoryInterface type

func NewWasteWaterRepositoryInterface

func NewWasteWaterRepositoryInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *WasteWaterRepositoryInterface

NewWasteWaterRepositoryInterface creates a new instance of WasteWaterRepositoryInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*WasteWaterRepositoryInterface) Create

Create provides a mock function with given fields: ctx, w

func (*WasteWaterRepositoryInterface) Delete

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

func (*WasteWaterRepositoryInterface) GetAll

func (_m *WasteWaterRepositoryInterface) GetAll(ctx context.Context, page int, limit int) ([]domain.WasteWaterData, error)

GetAll provides a mock function with given fields: ctx, page, limit

func (*WasteWaterRepositoryInterface) GetByID

GetByID provides a mock function with given fields: ctx, id

func (*WasteWaterRepositoryInterface) Update

Update provides a mock function with given fields: ctx, w

Jump to

Keyboard shortcuts

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