mocks

package
v0.0.0-...-2fe0e47 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockICalendarRepo

type MockICalendarRepo struct {
	// contains filtered or unexported fields
}

MockICalendarRepo is a mock of ICalendarRepo interface.

func NewMockICalendarRepo

func NewMockICalendarRepo(ctrl *gomock.Controller) *MockICalendarRepo

NewMockICalendarRepo creates a new mock instance.

func (*MockICalendarRepo) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockICalendarRepo) GetCalendar

func (m *MockICalendarRepo) GetCalendar() ([]models.DayItem, error)

GetCalendar mocks base method.

type MockICalendarRepoMockRecorder

type MockICalendarRepoMockRecorder struct {
	// contains filtered or unexported fields
}

MockICalendarRepoMockRecorder is the mock recorder for MockICalendarRepo.

func (*MockICalendarRepoMockRecorder) GetCalendar

func (mr *MockICalendarRepoMockRecorder) GetCalendar() *gomock.Call

GetCalendar indicates an expected call of GetCalendar.

type MockICore

type MockICore struct {
	// contains filtered or unexported fields
}

MockICore is a mock of ICore interface.

func NewMockICore

func NewMockICore(ctrl *gomock.Controller) *MockICore

NewMockICore creates a new mock instance.

func (*MockICore) AddFilm

func (m *MockICore) AddFilm(film models.FilmItem, genres, actors []uint64) error

AddFilm mocks base method.

func (*MockICore) AddNearFilm

func (m *MockICore) AddNearFilm(ctx context.Context, active models.NearFilm, lg *slog.Logger) (bool, error)

AddNearFilm mocks base method.

func (*MockICore) AddRating

func (m *MockICore) AddRating(filmId, userId uint64, rating uint16) (bool, error)

AddRating mocks base method.

func (*MockICore) DeleteRating

func (m *MockICore) DeleteRating(idUser, idFilm uint64) error

DeleteRating mocks base method.

func (*MockICore) EXPECT

func (m *MockICore) EXPECT() *MockICoreMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockICore) FavoriteActors

func (m *MockICore) FavoriteActors(userId, start, end uint64) ([]models.Character, error)

FavoriteActors mocks base method.

func (*MockICore) FavoriteActorsAdd

func (m *MockICore) FavoriteActorsAdd(userId, filmId uint64) error

FavoriteActorsAdd mocks base method.

func (*MockICore) FavoriteActorsRemove

func (m *MockICore) FavoriteActorsRemove(userId, filmId uint64) error

FavoriteActorsRemove mocks base method.

func (*MockICore) FavoriteFilms

func (m *MockICore) FavoriteFilms(userId, start, end uint64) ([]models.FilmItem, error)

FavoriteFilms mocks base method.

func (*MockICore) FavoriteFilmsAdd

func (m *MockICore) FavoriteFilmsAdd(userId, filmId uint64) error

FavoriteFilmsAdd mocks base method.

func (*MockICore) FavoriteFilmsRemove

func (m *MockICore) FavoriteFilmsRemove(userId, filmId uint64) error

FavoriteFilmsRemove mocks base method.

func (*MockICore) FindActor

func (m *MockICore) FindActor(name, birthDate string, films, career []string, country string, first, limit uint64) ([]models.Character, error)

FindActor mocks base method.

func (*MockICore) FindFilm

func (m *MockICore) FindFilm(title, dateFrom, dateTo string, ratingFrom, ratingTo float32, mpaa string, genres []uint32, actors []string, first, limit uint64) ([]models.FilmItem, error)

FindFilm mocks base method.

func (*MockICore) GetActorInfo

func (m *MockICore) GetActorInfo(actorId uint64) (*requests.ActorResponse, error)

GetActorInfo mocks base method.

func (*MockICore) GetActorsCareer

func (m *MockICore) GetActorsCareer(actorId uint64) ([]models.ProfessionItem, error)

GetActorsCareer mocks base method.

func (*MockICore) GetCalendar

func (m *MockICore) GetCalendar() (*requests.CalendarResponse, error)

GetCalendar mocks base method.

func (*MockICore) GetFilmInfo

func (m *MockICore) GetFilmInfo(filmId uint64) (*requests.FilmResponse, error)

GetFilmInfo mocks base method.

func (*MockICore) GetFilmsAndGenreTitle

func (m *MockICore) GetFilmsAndGenreTitle(genreId, start, end uint64) ([]models.FilmItem, string, error)

GetFilmsAndGenreTitle mocks base method.

func (*MockICore) GetGenre

func (m *MockICore) GetGenre(genreId uint64) (string, error)

GetGenre mocks base method.

func (*MockICore) GetLastSeen

func (m *MockICore) GetLastSeen(arg0 []models.NearFilm) ([]models.FilmItem, error)

GetLastSeen mocks base method.

func (*MockICore) GetNearFilms

func (m *MockICore) GetNearFilms(ctx context.Context, userId uint64, lg *slog.Logger) ([]models.NearFilm, error)

GetNearFilms mocks base method.

func (*MockICore) GetUserId

func (m *MockICore) GetUserId(ctx context.Context, sid string) (uint64, error)

GetUserId mocks base method.

func (*MockICore) Trends

func (m *MockICore) Trends() ([]models.FilmItem, error)

Trends mocks base method.

func (*MockICore) UsersStatistics

func (m *MockICore) UsersStatistics(idUser uint64) ([]requests.UsersStatisticsResponse, error)

UsersStatistics mocks base method.

type MockICoreMockRecorder

type MockICoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockICoreMockRecorder is the mock recorder for MockICore.

func (*MockICoreMockRecorder) AddFilm

func (mr *MockICoreMockRecorder) AddFilm(film, genres, actors interface{}) *gomock.Call

AddFilm indicates an expected call of AddFilm.

func (*MockICoreMockRecorder) AddNearFilm

func (mr *MockICoreMockRecorder) AddNearFilm(ctx, active, lg interface{}) *gomock.Call

AddNearFilm indicates an expected call of AddNearFilm.

func (*MockICoreMockRecorder) AddRating

func (mr *MockICoreMockRecorder) AddRating(filmId, userId, rating interface{}) *gomock.Call

AddRating indicates an expected call of AddRating.

func (*MockICoreMockRecorder) DeleteRating

func (mr *MockICoreMockRecorder) DeleteRating(idUser, idFilm interface{}) *gomock.Call

DeleteRating indicates an expected call of DeleteRating.

func (*MockICoreMockRecorder) FavoriteActors

func (mr *MockICoreMockRecorder) FavoriteActors(userId, start, end interface{}) *gomock.Call

FavoriteActors indicates an expected call of FavoriteActors.

func (*MockICoreMockRecorder) FavoriteActorsAdd

func (mr *MockICoreMockRecorder) FavoriteActorsAdd(userId, filmId interface{}) *gomock.Call

FavoriteActorsAdd indicates an expected call of FavoriteActorsAdd.

func (*MockICoreMockRecorder) FavoriteActorsRemove

func (mr *MockICoreMockRecorder) FavoriteActorsRemove(userId, filmId interface{}) *gomock.Call

FavoriteActorsRemove indicates an expected call of FavoriteActorsRemove.

func (*MockICoreMockRecorder) FavoriteFilms

func (mr *MockICoreMockRecorder) FavoriteFilms(userId, start, end interface{}) *gomock.Call

FavoriteFilms indicates an expected call of FavoriteFilms.

func (*MockICoreMockRecorder) FavoriteFilmsAdd

func (mr *MockICoreMockRecorder) FavoriteFilmsAdd(userId, filmId interface{}) *gomock.Call

FavoriteFilmsAdd indicates an expected call of FavoriteFilmsAdd.

func (*MockICoreMockRecorder) FavoriteFilmsRemove

func (mr *MockICoreMockRecorder) FavoriteFilmsRemove(userId, filmId interface{}) *gomock.Call

FavoriteFilmsRemove indicates an expected call of FavoriteFilmsRemove.

func (*MockICoreMockRecorder) FindActor

func (mr *MockICoreMockRecorder) FindActor(name, birthDate, films, career, country, first, limit interface{}) *gomock.Call

FindActor indicates an expected call of FindActor.

func (*MockICoreMockRecorder) FindFilm

func (mr *MockICoreMockRecorder) FindFilm(title, dateFrom, dateTo, ratingFrom, ratingTo, mpaa, genres, actors, first, limit interface{}) *gomock.Call

FindFilm indicates an expected call of FindFilm.

func (*MockICoreMockRecorder) GetActorInfo

func (mr *MockICoreMockRecorder) GetActorInfo(actorId interface{}) *gomock.Call

GetActorInfo indicates an expected call of GetActorInfo.

func (*MockICoreMockRecorder) GetActorsCareer

func (mr *MockICoreMockRecorder) GetActorsCareer(actorId interface{}) *gomock.Call

GetActorsCareer indicates an expected call of GetActorsCareer.

func (*MockICoreMockRecorder) GetCalendar

func (mr *MockICoreMockRecorder) GetCalendar() *gomock.Call

GetCalendar indicates an expected call of GetCalendar.

func (*MockICoreMockRecorder) GetFilmInfo

func (mr *MockICoreMockRecorder) GetFilmInfo(filmId interface{}) *gomock.Call

GetFilmInfo indicates an expected call of GetFilmInfo.

func (*MockICoreMockRecorder) GetFilmsAndGenreTitle

func (mr *MockICoreMockRecorder) GetFilmsAndGenreTitle(genreId, start, end interface{}) *gomock.Call

GetFilmsAndGenreTitle indicates an expected call of GetFilmsAndGenreTitle.

func (*MockICoreMockRecorder) GetGenre

func (mr *MockICoreMockRecorder) GetGenre(genreId interface{}) *gomock.Call

GetGenre indicates an expected call of GetGenre.

func (*MockICoreMockRecorder) GetLastSeen

func (mr *MockICoreMockRecorder) GetLastSeen(arg0 interface{}) *gomock.Call

GetLastSeen indicates an expected call of GetLastSeen.

func (*MockICoreMockRecorder) GetNearFilms

func (mr *MockICoreMockRecorder) GetNearFilms(ctx, userId, lg interface{}) *gomock.Call

GetNearFilms indicates an expected call of GetNearFilms.

func (*MockICoreMockRecorder) GetUserId

func (mr *MockICoreMockRecorder) GetUserId(ctx, sid interface{}) *gomock.Call

GetUserId indicates an expected call of GetUserId.

func (*MockICoreMockRecorder) Trends

func (mr *MockICoreMockRecorder) Trends() *gomock.Call

Trends indicates an expected call of Trends.

func (*MockICoreMockRecorder) UsersStatistics

func (mr *MockICoreMockRecorder) UsersStatistics(idUser interface{}) *gomock.Call

UsersStatistics indicates an expected call of UsersStatistics.

type MockICrewRepo

type MockICrewRepo struct {
	// contains filtered or unexported fields
}

MockICrewRepo is a mock of ICrewRepo interface.

func NewMockICrewRepo

func NewMockICrewRepo(ctrl *gomock.Controller) *MockICrewRepo

NewMockICrewRepo creates a new mock instance.

func (*MockICrewRepo) AddFavoriteActor

func (m *MockICrewRepo) AddFavoriteActor(userId, actorId uint64) error

AddFavoriteActor mocks base method.

func (*MockICrewRepo) AddFilm

func (m *MockICrewRepo) AddFilm(actors []uint64, filmId uint64) error

AddFilm mocks base method.

func (*MockICrewRepo) CheckActor

func (m *MockICrewRepo) CheckActor(userId, actorId uint64) (bool, error)

CheckActor mocks base method.

func (*MockICrewRepo) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockICrewRepo) FindActor

func (m *MockICrewRepo) FindActor(name, birthDate string, films, career []string, country string, first, limit uint64) ([]models.Character, error)

FindActor mocks base method.

func (*MockICrewRepo) GetActor

func (m *MockICrewRepo) GetActor(actorId uint64) (*models.CrewItem, error)

GetActor mocks base method.

func (*MockICrewRepo) GetFavoriteActors

func (m *MockICrewRepo) GetFavoriteActors(userId, start, end uint64) ([]models.Character, error)

GetFavoriteActors mocks base method.

func (*MockICrewRepo) GetFilmCharacters

func (m *MockICrewRepo) GetFilmCharacters(filmId uint64) ([]models.Character, error)

GetFilmCharacters mocks base method.

func (*MockICrewRepo) GetFilmDirectors

func (m *MockICrewRepo) GetFilmDirectors(filmId uint64) ([]models.CrewItem, error)

GetFilmDirectors mocks base method.

func (*MockICrewRepo) GetFilmScenarists

func (m *MockICrewRepo) GetFilmScenarists(filmId uint64) ([]models.CrewItem, error)

GetFilmScenarists mocks base method.

func (*MockICrewRepo) RemoveFavoriteActor

func (m *MockICrewRepo) RemoveFavoriteActor(userId, actorId uint64) error

RemoveFavoriteActor mocks base method.

type MockICrewRepoMockRecorder

type MockICrewRepoMockRecorder struct {
	// contains filtered or unexported fields
}

MockICrewRepoMockRecorder is the mock recorder for MockICrewRepo.

func (*MockICrewRepoMockRecorder) AddFavoriteActor

func (mr *MockICrewRepoMockRecorder) AddFavoriteActor(userId, actorId interface{}) *gomock.Call

AddFavoriteActor indicates an expected call of AddFavoriteActor.

func (*MockICrewRepoMockRecorder) AddFilm

func (mr *MockICrewRepoMockRecorder) AddFilm(actors, filmId interface{}) *gomock.Call

AddFilm indicates an expected call of AddFilm.

func (*MockICrewRepoMockRecorder) CheckActor

func (mr *MockICrewRepoMockRecorder) CheckActor(userId, actorId interface{}) *gomock.Call

CheckActor indicates an expected call of CheckActor.

func (*MockICrewRepoMockRecorder) FindActor

func (mr *MockICrewRepoMockRecorder) FindActor(name, birthDate, films, career, country, first, limit interface{}) *gomock.Call

FindActor indicates an expected call of FindActor.

func (*MockICrewRepoMockRecorder) GetActor

func (mr *MockICrewRepoMockRecorder) GetActor(actorId interface{}) *gomock.Call

GetActor indicates an expected call of GetActor.

func (*MockICrewRepoMockRecorder) GetFavoriteActors

func (mr *MockICrewRepoMockRecorder) GetFavoriteActors(userId, start, end interface{}) *gomock.Call

GetFavoriteActors indicates an expected call of GetFavoriteActors.

func (*MockICrewRepoMockRecorder) GetFilmCharacters

func (mr *MockICrewRepoMockRecorder) GetFilmCharacters(filmId interface{}) *gomock.Call

GetFilmCharacters indicates an expected call of GetFilmCharacters.

func (*MockICrewRepoMockRecorder) GetFilmDirectors

func (mr *MockICrewRepoMockRecorder) GetFilmDirectors(filmId interface{}) *gomock.Call

GetFilmDirectors indicates an expected call of GetFilmDirectors.

func (*MockICrewRepoMockRecorder) GetFilmScenarists

func (mr *MockICrewRepoMockRecorder) GetFilmScenarists(filmId interface{}) *gomock.Call

GetFilmScenarists indicates an expected call of GetFilmScenarists.

func (*MockICrewRepoMockRecorder) RemoveFavoriteActor

func (mr *MockICrewRepoMockRecorder) RemoveFavoriteActor(userId, actorId interface{}) *gomock.Call

RemoveFavoriteActor indicates an expected call of RemoveFavoriteActor.

type MockIFilmsRepo

type MockIFilmsRepo struct {
	// contains filtered or unexported fields
}

MockIFilmsRepo is a mock of IFilmsRepo interface.

func NewMockIFilmsRepo

func NewMockIFilmsRepo(ctrl *gomock.Controller) *MockIFilmsRepo

NewMockIFilmsRepo creates a new mock instance.

func (*MockIFilmsRepo) AddFavoriteFilm

func (m *MockIFilmsRepo) AddFavoriteFilm(userId, filmId uint64) error

AddFavoriteFilm mocks base method.

func (*MockIFilmsRepo) AddFilm

func (m *MockIFilmsRepo) AddFilm(film models.FilmItem) error

AddFilm mocks base method.

func (*MockIFilmsRepo) AddRating

func (m *MockIFilmsRepo) AddRating(filmId, userId uint64, rating uint16) error

AddRating mocks base method.

func (*MockIFilmsRepo) CheckFilm

func (m *MockIFilmsRepo) CheckFilm(userId, filmId uint64) (bool, error)

CheckFilm mocks base method.

func (*MockIFilmsRepo) DeleteRating

func (m *MockIFilmsRepo) DeleteRating(idUser, idFilm uint64) error

DeleteRating mocks base method.

func (*MockIFilmsRepo) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIFilmsRepo) FindFilm

func (m *MockIFilmsRepo) FindFilm(title, dateFrom, dateTo string, ratingFrom, ratingTo float32, mpaa string, genres []uint32, actors []string, first, limit uint64) ([]models.FilmItem, error)

FindFilm mocks base method.

func (*MockIFilmsRepo) GetFavoriteFilms

func (m *MockIFilmsRepo) GetFavoriteFilms(userId, start, end uint64) ([]models.FilmItem, error)

GetFavoriteFilms mocks base method.

func (*MockIFilmsRepo) GetFilm

func (m *MockIFilmsRepo) GetFilm(filmId uint64) (*models.FilmItem, error)

GetFilm mocks base method.

func (*MockIFilmsRepo) GetFilmId

func (m *MockIFilmsRepo) GetFilmId(title string) (uint64, error)

GetFilmId mocks base method.

func (*MockIFilmsRepo) GetFilmRating

func (m *MockIFilmsRepo) GetFilmRating(filmId uint64) (float64, uint64, error)

GetFilmRating mocks base method.

func (*MockIFilmsRepo) GetFilms

func (m *MockIFilmsRepo) GetFilms(start, end uint64) ([]models.FilmItem, error)

GetFilms mocks base method.

func (*MockIFilmsRepo) GetFilmsByGenre

func (m *MockIFilmsRepo) GetFilmsByGenre(genre, start, end uint64) ([]models.FilmItem, error)

GetFilmsByGenre mocks base method.

func (*MockIFilmsRepo) GetLasts

func (m *MockIFilmsRepo) GetLasts(ids []uint64) ([]models.FilmItem, error)

GetLasts mocks base method.

func (*MockIFilmsRepo) HasUsersRating

func (m *MockIFilmsRepo) HasUsersRating(userId, filmId uint64) (bool, error)

HasUsersRating mocks base method.

func (*MockIFilmsRepo) RemoveFavoriteFilm

func (m *MockIFilmsRepo) RemoveFavoriteFilm(userId, filmId uint64) error

RemoveFavoriteFilm mocks base method.

func (*MockIFilmsRepo) Trends

func (m *MockIFilmsRepo) Trends() ([]models.FilmItem, error)

Trends mocks base method.

type MockIFilmsRepoMockRecorder

type MockIFilmsRepoMockRecorder struct {
	// contains filtered or unexported fields
}

MockIFilmsRepoMockRecorder is the mock recorder for MockIFilmsRepo.

func (*MockIFilmsRepoMockRecorder) AddFavoriteFilm

func (mr *MockIFilmsRepoMockRecorder) AddFavoriteFilm(userId, filmId interface{}) *gomock.Call

AddFavoriteFilm indicates an expected call of AddFavoriteFilm.

func (*MockIFilmsRepoMockRecorder) AddFilm

func (mr *MockIFilmsRepoMockRecorder) AddFilm(film interface{}) *gomock.Call

AddFilm indicates an expected call of AddFilm.

func (*MockIFilmsRepoMockRecorder) AddRating

func (mr *MockIFilmsRepoMockRecorder) AddRating(filmId, userId, rating interface{}) *gomock.Call

AddRating indicates an expected call of AddRating.

func (*MockIFilmsRepoMockRecorder) CheckFilm

func (mr *MockIFilmsRepoMockRecorder) CheckFilm(userId, filmId interface{}) *gomock.Call

CheckFilm indicates an expected call of CheckFilm.

func (*MockIFilmsRepoMockRecorder) DeleteRating

func (mr *MockIFilmsRepoMockRecorder) DeleteRating(idUser, idFilm interface{}) *gomock.Call

DeleteRating indicates an expected call of DeleteRating.

func (*MockIFilmsRepoMockRecorder) FindFilm

func (mr *MockIFilmsRepoMockRecorder) FindFilm(title, dateFrom, dateTo, ratingFrom, ratingTo, mpaa, genres, actors, first, limit interface{}) *gomock.Call

FindFilm indicates an expected call of FindFilm.

func (*MockIFilmsRepoMockRecorder) GetFavoriteFilms

func (mr *MockIFilmsRepoMockRecorder) GetFavoriteFilms(userId, start, end interface{}) *gomock.Call

GetFavoriteFilms indicates an expected call of GetFavoriteFilms.

func (*MockIFilmsRepoMockRecorder) GetFilm

func (mr *MockIFilmsRepoMockRecorder) GetFilm(filmId interface{}) *gomock.Call

GetFilm indicates an expected call of GetFilm.

func (*MockIFilmsRepoMockRecorder) GetFilmId

func (mr *MockIFilmsRepoMockRecorder) GetFilmId(title interface{}) *gomock.Call

GetFilmId indicates an expected call of GetFilmId.

func (*MockIFilmsRepoMockRecorder) GetFilmRating

func (mr *MockIFilmsRepoMockRecorder) GetFilmRating(filmId interface{}) *gomock.Call

GetFilmRating indicates an expected call of GetFilmRating.

func (*MockIFilmsRepoMockRecorder) GetFilms

func (mr *MockIFilmsRepoMockRecorder) GetFilms(start, end interface{}) *gomock.Call

GetFilms indicates an expected call of GetFilms.

func (*MockIFilmsRepoMockRecorder) GetFilmsByGenre

func (mr *MockIFilmsRepoMockRecorder) GetFilmsByGenre(genre, start, end interface{}) *gomock.Call

GetFilmsByGenre indicates an expected call of GetFilmsByGenre.

func (*MockIFilmsRepoMockRecorder) GetLasts

func (mr *MockIFilmsRepoMockRecorder) GetLasts(ids interface{}) *gomock.Call

GetLasts indicates an expected call of GetLasts.

func (*MockIFilmsRepoMockRecorder) HasUsersRating

func (mr *MockIFilmsRepoMockRecorder) HasUsersRating(userId, filmId interface{}) *gomock.Call

HasUsersRating indicates an expected call of HasUsersRating.

func (*MockIFilmsRepoMockRecorder) RemoveFavoriteFilm

func (mr *MockIFilmsRepoMockRecorder) RemoveFavoriteFilm(userId, filmId interface{}) *gomock.Call

RemoveFavoriteFilm indicates an expected call of RemoveFavoriteFilm.

func (*MockIFilmsRepoMockRecorder) Trends

func (mr *MockIFilmsRepoMockRecorder) Trends() *gomock.Call

Trends indicates an expected call of Trends.

type MockIGenreRepo

type MockIGenreRepo struct {
	// contains filtered or unexported fields
}

MockIGenreRepo is a mock of IGenreRepo interface.

func NewMockIGenreRepo

func NewMockIGenreRepo(ctrl *gomock.Controller) *MockIGenreRepo

NewMockIGenreRepo creates a new mock instance.

func (*MockIGenreRepo) AddFilm

func (m *MockIGenreRepo) AddFilm(genres []uint64, filmId uint64) error

AddFilm mocks base method.

func (*MockIGenreRepo) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIGenreRepo) GetFilmGenres

func (m *MockIGenreRepo) GetFilmGenres(filmId uint64) ([]models.GenreItem, error)

GetFilmGenres mocks base method.

func (*MockIGenreRepo) GetGenreById

func (m *MockIGenreRepo) GetGenreById(genreId uint64) (string, error)

GetGenreById mocks base method.

func (*MockIGenreRepo) UsersStatistics

func (m *MockIGenreRepo) UsersStatistics(idUser uint64) ([]requests.UsersStatisticsResponse, error)

UsersStatistics mocks base method.

type MockIGenreRepoMockRecorder

type MockIGenreRepoMockRecorder struct {
	// contains filtered or unexported fields
}

MockIGenreRepoMockRecorder is the mock recorder for MockIGenreRepo.

func (*MockIGenreRepoMockRecorder) AddFilm

func (mr *MockIGenreRepoMockRecorder) AddFilm(genres, filmId interface{}) *gomock.Call

AddFilm indicates an expected call of AddFilm.

func (*MockIGenreRepoMockRecorder) GetFilmGenres

func (mr *MockIGenreRepoMockRecorder) GetFilmGenres(filmId interface{}) *gomock.Call

GetFilmGenres indicates an expected call of GetFilmGenres.

func (*MockIGenreRepoMockRecorder) GetGenreById

func (mr *MockIGenreRepoMockRecorder) GetGenreById(genreId interface{}) *gomock.Call

GetGenreById indicates an expected call of GetGenreById.

func (*MockIGenreRepoMockRecorder) UsersStatistics

func (mr *MockIGenreRepoMockRecorder) UsersStatistics(idUser interface{}) *gomock.Call

UsersStatistics indicates an expected call of UsersStatistics.

type MockIProfessionRepo

type MockIProfessionRepo struct {
	// contains filtered or unexported fields
}

MockIProfessionRepo is a mock of IProfessionRepo interface.

func NewMockIProfessionRepo

func NewMockIProfessionRepo(ctrl *gomock.Controller) *MockIProfessionRepo

NewMockIProfessionRepo creates a new mock instance.

func (*MockIProfessionRepo) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIProfessionRepo) GetActorsProfessions

func (m *MockIProfessionRepo) GetActorsProfessions(actorId uint64) ([]models.ProfessionItem, error)

GetActorsProfessions mocks base method.

type MockIProfessionRepoMockRecorder

type MockIProfessionRepoMockRecorder struct {
	// contains filtered or unexported fields
}

MockIProfessionRepoMockRecorder is the mock recorder for MockIProfessionRepo.

func (*MockIProfessionRepoMockRecorder) GetActorsProfessions

func (mr *MockIProfessionRepoMockRecorder) GetActorsProfessions(actorId interface{}) *gomock.Call

GetActorsProfessions indicates an expected call of GetActorsProfessions.

Jump to

Keyboard shortcuts

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