mocks

package
v0.0.0-...-b665e70 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MovieByIdGetter

type MovieByIdGetter struct {
	mock.Mock
}

MovieByIdGetter is an autogenerated mock type for the MovieByIdGetter type

func NewMovieByIdGetter

func NewMovieByIdGetter(t interface {
	mock.TestingT
	Cleanup(func())
}) *MovieByIdGetter

NewMovieByIdGetter creates a new instance of MovieByIdGetter. 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 (*MovieByIdGetter) GetMovieById

func (_m *MovieByIdGetter) GetMovieById(id int) (*entity.Movie, error)

GetMovieById provides a mock function with given fields: id

Jump to

Keyboard shortcuts

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