mocks

package
v0.0.0-...-04b3042 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminUsecase

type AdminUsecase struct {
	mock.Mock
}

AdminUsecase is an autogenerated mock type for the AdminUsecase type

func NewAdminUsecase

func NewAdminUsecase(t testing.TB) *AdminUsecase

NewAdminUsecase creates a new instance of AdminUsecase. It also registers a cleanup function to assert the mocks expectations.

type UserUsecase

type UserUsecase struct {
	mock.Mock
}

UserUsecase is an autogenerated mock type for the UserUsecase type

func NewUserUsecase

func NewUserUsecase(t testing.TB) *UserUsecase

NewUserUsecase creates a new instance of UserUsecase. It also registers a cleanup function to assert the mocks expectations.

func (*UserUsecase) FindAudioByAudioID

func (_m *UserUsecase) FindAudioByAudioID(ctx context.Context, audioID domain.AudioID) (service.Audio, error)

FindAudioByAudioID provides a mock function with given fields: ctx, audioID

func (*UserUsecase) Synthesize

func (_m *UserUsecase) Synthesize(ctx context.Context, lang2 domain.Lang2, text string) (service.Audio, error)

Synthesize provides a mock function with given fields: ctx, lang2, text

Jump to

Keyboard shortcuts

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