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) Get

func (_m *Repository) Get(ctx context.Context, id uuid.UUID) (user.User, error)

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

func (*Repository) Save

func (_m *Repository) Save(ctx context.Context, _a1 user.User) error

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

Jump to

Keyboard shortcuts

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