Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MovieUpdater ¶
MovieUpdater is an autogenerated mock type for the MovieUpdater type
func NewMovieUpdater ¶
func NewMovieUpdater(t interface { mock.TestingT Cleanup(func()) }) *MovieUpdater
NewMovieUpdater creates a new instance of MovieUpdater. 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 (*MovieUpdater) GetMovieById ¶
func (_m *MovieUpdater) GetMovieById(id int) (*entity.Movie, error)
GetMovieById provides a mock function with given fields: id
func (*MovieUpdater) UpdateMovie ¶
func (_m *MovieUpdater) UpdateMovie(id int, movie *entity.Movie) error
UpdateMovie provides a mock function with given fields: id, movie
Click to show internal directories.
Click to hide internal directories.