mocks

package
v0.0.0-...-29610b7 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 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 FeedbackUsecase

type FeedbackUsecase struct {
	mock.Mock
}

FeedbackUsecase is an autogenerated mock type for the FeedbackUsecase type

func NewFeedbackUsecase

func NewFeedbackUsecase(t mockConstructorTestingTNewFeedbackUsecase) *FeedbackUsecase

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

func (*FeedbackUsecase) Store

func (_m *FeedbackUsecase) Store(_a0 context.Context, _a1 *domain.Feedback) error

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

type GeneralInformationUsecase

type GeneralInformationUsecase struct {
	mock.Mock
}

GeneralInformationUsecase is an autogenerated mock type for the GeneralInformationUsecase type

func NewGeneralInformationUsecase

func NewGeneralInformationUsecase(t mockConstructorTestingTNewGeneralInformationUsecase) *GeneralInformationUsecase

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

func (*GeneralInformationUsecase) GetByID

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

type ServicePublicUsecase

type ServicePublicUsecase struct {
	mock.Mock
}

ServicePublicUsecase is an autogenerated mock type for the ServicePublicUsecase type

func NewServicePublicUsecase

func NewServicePublicUsecase(t mockConstructorTestingTNewServicePublicUsecase) *ServicePublicUsecase

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

func (*ServicePublicUsecase) Delete

func (_m *ServicePublicUsecase) Delete(_a0 context.Context, _a1 int64) error

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

func (*ServicePublicUsecase) Fetch

Fetch provides a mock function with given fields: ctx, params

func (*ServicePublicUsecase) GetBySlug

func (_m *ServicePublicUsecase) GetBySlug(ctx context.Context, slug string) (domain.ServicePublic, error)

GetBySlug provides a mock function with given fields: ctx, slug

func (*ServicePublicUsecase) MetaFetch

func (_m *ServicePublicUsecase) MetaFetch(ctx context.Context, params *domain.Request) (int64, string, int64, error)

MetaFetch provides a mock function with given fields: ctx, params

func (*ServicePublicUsecase) Store

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

func (*ServicePublicUsecase) Update

Update provides a mock function with given fields: _a0, _a1, _a2

Jump to

Keyboard shortcuts

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