mocks

package
v0.0.0-...-e0c9873 Latest Latest
Warning

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

Go to latest
Published: May 7, 2022 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 Repository

type Repository struct {
	mock.Mock
}

Repository is an autogenerated mock type for the Repository type

func NewRepository

func NewRepository(t testing.TB) *Repository

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

func (*Repository) GetAll

func (_m *Repository) GetAll(ctx context.Context, userId uuid.UUID) (examination.ExaminationList, error)

GetAll provides a mock function with given fields: ctx, userId

func (*Repository) Save

func (_m *Repository) Save(ctx context.Context, exam examination.Examination) error

Save provides a mock function with given fields: ctx, exam

Jump to

Keyboard shortcuts

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