mock_service

package
v0.0.0-...-b15666a Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_service is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMoviesRepository

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

MockMoviesRepository is a mock of MoviesRepository interface.

func NewMockMoviesRepository

func NewMockMoviesRepository(ctrl *gomock.Controller) *MockMoviesRepository

NewMockMoviesRepository creates a new mock instance.

func (*MockMoviesRepository) EXPECT

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

func (*MockMoviesRepository) GetAgeRatings

func (m *MockMoviesRepository) GetAgeRatings(ctx context.Context) ([]string, error)

GetAgeRatings mocks base method.

func (*MockMoviesRepository) GetAllCountries

func (m *MockMoviesRepository) GetAllCountries(ctx context.Context) ([]models.Country, error)

GetAllCountries mocks base method.

func (*MockMoviesRepository) GetAllGenres

func (m *MockMoviesRepository) GetAllGenres(ctx context.Context) ([]models.Genre, error)

GetAllGenres mocks base method.

func (*MockMoviesRepository) GetCountries

func (m *MockMoviesRepository) GetCountries(ctx context.Context, movieId int32) ([]string, error)

GetCountries mocks base method.

func (*MockMoviesRepository) GetGenres

func (m *MockMoviesRepository) GetGenres(ctx context.Context, movieId int32) ([]string, error)

GetGenres mocks base method.

func (*MockMoviesRepository) GetMovie

func (m *MockMoviesRepository) GetMovie(ctx context.Context, movieId int32) (models.RepositoryMovie, error)

GetMovie mocks base method.

func (*MockMoviesRepository) GetMoviePreview

func (m *MockMoviesRepository) GetMoviePreview(ctx context.Context, movieId int32) (models.RepositoryMoviePreview, error)

GetMoviePreview mocks base method.

func (*MockMoviesRepository) GetMoviesPreview

func (m *MockMoviesRepository) GetMoviesPreview(ctx context.Context, Filter models.MoviesFilter, limit, offset uint32) ([]models.RepositoryMoviePreview, error)

GetMoviesPreview mocks base method.

func (*MockMoviesRepository) GetMoviesPreviewByIDs

func (m *MockMoviesRepository) GetMoviesPreviewByIDs(ctx context.Context, ids []string) ([]models.RepositoryMoviePreview, error)

GetMoviesPreviewByIDs mocks base method.

type MockMoviesRepositoryMockRecorder

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

MockMoviesRepositoryMockRecorder is the mock recorder for MockMoviesRepository.

func (*MockMoviesRepositoryMockRecorder) GetAgeRatings

func (mr *MockMoviesRepositoryMockRecorder) GetAgeRatings(ctx interface{}) *gomock.Call

GetAgeRatings indicates an expected call of GetAgeRatings.

func (*MockMoviesRepositoryMockRecorder) GetAllCountries

func (mr *MockMoviesRepositoryMockRecorder) GetAllCountries(ctx interface{}) *gomock.Call

GetAllCountries indicates an expected call of GetAllCountries.

func (*MockMoviesRepositoryMockRecorder) GetAllGenres

func (mr *MockMoviesRepositoryMockRecorder) GetAllGenres(ctx interface{}) *gomock.Call

GetAllGenres indicates an expected call of GetAllGenres.

func (*MockMoviesRepositoryMockRecorder) GetCountries

func (mr *MockMoviesRepositoryMockRecorder) GetCountries(ctx, movieId interface{}) *gomock.Call

GetCountries indicates an expected call of GetCountries.

func (*MockMoviesRepositoryMockRecorder) GetGenres

func (mr *MockMoviesRepositoryMockRecorder) GetGenres(ctx, movieId interface{}) *gomock.Call

GetGenres indicates an expected call of GetGenres.

func (*MockMoviesRepositoryMockRecorder) GetMovie

func (mr *MockMoviesRepositoryMockRecorder) GetMovie(ctx, movieId interface{}) *gomock.Call

GetMovie indicates an expected call of GetMovie.

func (*MockMoviesRepositoryMockRecorder) GetMoviePreview

func (mr *MockMoviesRepositoryMockRecorder) GetMoviePreview(ctx, movieId interface{}) *gomock.Call

GetMoviePreview indicates an expected call of GetMoviePreview.

func (*MockMoviesRepositoryMockRecorder) GetMoviesPreview

func (mr *MockMoviesRepositoryMockRecorder) GetMoviesPreview(ctx, Filter, limit, offset interface{}) *gomock.Call

GetMoviesPreview indicates an expected call of GetMoviesPreview.

func (*MockMoviesRepositoryMockRecorder) GetMoviesPreviewByIDs

func (mr *MockMoviesRepositoryMockRecorder) GetMoviesPreviewByIDs(ctx, ids interface{}) *gomock.Call

GetMoviesPreviewByIDs indicates an expected call of GetMoviesPreviewByIDs.

type MockMoviesService

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

MockMoviesService is a mock of MoviesService interface.

func NewMockMoviesService

func NewMockMoviesService(ctrl *gomock.Controller) *MockMoviesService

NewMockMoviesService creates a new mock instance.

func (*MockMoviesService) EXPECT

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

func (*MockMoviesService) GetAgeRatings

func (m *MockMoviesService) GetAgeRatings(ctx context.Context) ([]string, error)

GetAgeRatings mocks base method.

func (*MockMoviesService) GetCountries

func (m *MockMoviesService) GetCountries(ctx context.Context) ([]models.Country, error)

GetCountries mocks base method.

func (*MockMoviesService) GetGenres

func (m *MockMoviesService) GetGenres(ctx context.Context) ([]models.Genre, error)

GetGenres mocks base method.

func (*MockMoviesService) GetMovie

func (m *MockMoviesService) GetMovie(ctx context.Context, id int32) (models.Movie, error)

GetMovie mocks base method.

func (*MockMoviesService) GetMoviesPreview

func (m *MockMoviesService) GetMoviesPreview(ctx context.Context, filter models.MoviesFilter, limit, offset uint32) ([]models.MoviePreview, error)

GetMoviesPreview mocks base method.

func (*MockMoviesService) GetMoviesPreviewByIDs

func (m *MockMoviesService) GetMoviesPreviewByIDs(ctx context.Context, ids []string) ([]models.MoviePreview, error)

GetMoviesPreviewByIDs mocks base method.

type MockMoviesServiceMockRecorder

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

MockMoviesServiceMockRecorder is the mock recorder for MockMoviesService.

func (*MockMoviesServiceMockRecorder) GetAgeRatings

func (mr *MockMoviesServiceMockRecorder) GetAgeRatings(ctx interface{}) *gomock.Call

GetAgeRatings indicates an expected call of GetAgeRatings.

func (*MockMoviesServiceMockRecorder) GetCountries

func (mr *MockMoviesServiceMockRecorder) GetCountries(ctx interface{}) *gomock.Call

GetCountries indicates an expected call of GetCountries.

func (*MockMoviesServiceMockRecorder) GetGenres

func (mr *MockMoviesServiceMockRecorder) GetGenres(ctx interface{}) *gomock.Call

GetGenres indicates an expected call of GetGenres.

func (*MockMoviesServiceMockRecorder) GetMovie

func (mr *MockMoviesServiceMockRecorder) GetMovie(ctx, id interface{}) *gomock.Call

GetMovie indicates an expected call of GetMovie.

func (*MockMoviesServiceMockRecorder) GetMoviesPreview

func (mr *MockMoviesServiceMockRecorder) GetMoviesPreview(ctx, filter, limit, offset interface{}) *gomock.Call

GetMoviesPreview indicates an expected call of GetMoviesPreview.

func (*MockMoviesServiceMockRecorder) GetMoviesPreviewByIDs

func (mr *MockMoviesServiceMockRecorder) GetMoviesPreviewByIDs(ctx, ids interface{}) *gomock.Call

GetMoviesPreviewByIDs indicates an expected call of GetMoviesPreviewByIDs.

Jump to

Keyboard shortcuts

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