mocks

package
v0.0.0-...-c52fe67 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2020 License: GPL-3.0 Imports: 5 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.

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.

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 MockFeatureRepository

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

MockFeatureRepository is a mock of FeatureRepository interface

func NewMockFeatureRepository

func NewMockFeatureRepository(ctrl *gomock.Controller) *MockFeatureRepository

NewMockFeatureRepository creates a new mock instance

func (*MockFeatureRepository) Create

func (m *MockFeatureRepository) Create(arg0 context.Context, arg1 *entity.Feature) error

Create mocks base method

func (*MockFeatureRepository) Delete

func (m *MockFeatureRepository) Delete(arg0 context.Context, arg1 *entity.Feature) error

Delete mocks base method

func (*MockFeatureRepository) EXPECT

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

func (*MockFeatureRepository) FindAll

func (m *MockFeatureRepository) FindAll(arg0 context.Context) ([]entity.Feature, error)

FindAll mocks base method

func (*MockFeatureRepository) FindByID

func (m *MockFeatureRepository) FindByID(arg0 context.Context, arg1 uint) (*entity.Feature, error)

FindByID mocks base method

func (*MockFeatureRepository) FindByIDs

func (m *MockFeatureRepository) FindByIDs(arg0 context.Context, arg1 []uint) ([]entity.Feature, error)

FindByIDs mocks base method

func (*MockFeatureRepository) Update

func (m *MockFeatureRepository) Update(arg0 context.Context, arg1 *entity.Feature) error

Update mocks base method

type MockFeatureRepositoryMockRecorder

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

MockFeatureRepositoryMockRecorder is the mock recorder for MockFeatureRepository

func (*MockFeatureRepositoryMockRecorder) Create

func (mr *MockFeatureRepositoryMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockFeatureRepositoryMockRecorder) Delete

func (mr *MockFeatureRepositoryMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockFeatureRepositoryMockRecorder) FindAll

func (mr *MockFeatureRepositoryMockRecorder) FindAll(arg0 interface{}) *gomock.Call

FindAll indicates an expected call of FindAll

func (*MockFeatureRepositoryMockRecorder) FindByID

func (mr *MockFeatureRepositoryMockRecorder) FindByID(arg0, arg1 interface{}) *gomock.Call

FindByID indicates an expected call of FindByID

func (*MockFeatureRepositoryMockRecorder) FindByIDs

func (mr *MockFeatureRepositoryMockRecorder) FindByIDs(arg0, arg1 interface{}) *gomock.Call

FindByIDs indicates an expected call of FindByIDs

func (*MockFeatureRepositoryMockRecorder) Update

func (mr *MockFeatureRepositoryMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockFeatureService

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

MockFeatureService is a mock of FeatureService interface

func NewMockFeatureService

func NewMockFeatureService(ctrl *gomock.Controller) *MockFeatureService

NewMockFeatureService creates a new mock instance

func (*MockFeatureService) Create

Create mocks base method

func (*MockFeatureService) Delete

func (m *MockFeatureService) Delete(arg0 context.Context, arg1 uint) error

Delete mocks base method

func (*MockFeatureService) EXPECT

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

func (*MockFeatureService) GetByGameRevisionID

func (m *MockFeatureService) GetByGameRevisionID(arg0 context.Context, arg1 uint) ([]entity.Feature, error)

GetByGameRevisionID mocks base method

func (*MockFeatureService) GetByID

func (m *MockFeatureService) GetByID(arg0 context.Context, arg1 uint) (*entity.Feature, error)

GetByID mocks base method

func (*MockFeatureService) GetByIDs

func (m *MockFeatureService) GetByIDs(arg0 context.Context, arg1 []uint) ([]entity.Feature, error)

GetByIDs mocks base method

func (*MockFeatureService) GetExistByID

func (m *MockFeatureService) GetExistByID(arg0 context.Context, arg1 uint) (*entity.Feature, error)

GetExistByID mocks base method

func (*MockFeatureService) Update

Update mocks base method

func (*MockFeatureService) UpdateFeaturesForGameRevision

func (m *MockFeatureService) UpdateFeaturesForGameRevision(arg0 context.Context, arg1 *entity.GameRevision, arg2 []uint) error

UpdateFeaturesForGameRevision mocks base method

type MockFeatureServiceMockRecorder

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

MockFeatureServiceMockRecorder is the mock recorder for MockFeatureService

func (*MockFeatureServiceMockRecorder) Create

func (mr *MockFeatureServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockFeatureServiceMockRecorder) Delete

func (mr *MockFeatureServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockFeatureServiceMockRecorder) GetByGameRevisionID

func (mr *MockFeatureServiceMockRecorder) GetByGameRevisionID(arg0, arg1 interface{}) *gomock.Call

GetByGameRevisionID indicates an expected call of GetByGameRevisionID

func (*MockFeatureServiceMockRecorder) GetByID

func (mr *MockFeatureServiceMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID

func (*MockFeatureServiceMockRecorder) GetByIDs

func (mr *MockFeatureServiceMockRecorder) GetByIDs(arg0, arg1 interface{}) *gomock.Call

GetByIDs indicates an expected call of GetByIDs

func (*MockFeatureServiceMockRecorder) GetExistByID

func (mr *MockFeatureServiceMockRecorder) GetExistByID(arg0, arg1 interface{}) *gomock.Call

GetExistByID indicates an expected call of GetExistByID

func (*MockFeatureServiceMockRecorder) Update

func (mr *MockFeatureServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update

func (*MockFeatureServiceMockRecorder) UpdateFeaturesForGameRevision

func (mr *MockFeatureServiceMockRecorder) UpdateFeaturesForGameRevision(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateFeaturesForGameRevision indicates an expected call of UpdateFeaturesForGameRevision

type MockGameRevisionFeatureRepository

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

MockGameRevisionFeatureRepository is a mock of GameRevisionFeatureRepository interface

func NewMockGameRevisionFeatureRepository

func NewMockGameRevisionFeatureRepository(ctrl *gomock.Controller) *MockGameRevisionFeatureRepository

NewMockGameRevisionFeatureRepository creates a new mock instance

func (*MockGameRevisionFeatureRepository) Create

Create mocks base method

func (*MockGameRevisionFeatureRepository) CreateMultiple

CreateMultiple mocks base method

func (*MockGameRevisionFeatureRepository) Delete

Delete mocks base method

func (*MockGameRevisionFeatureRepository) DeleteMultiple

DeleteMultiple mocks base method

func (*MockGameRevisionFeatureRepository) EXPECT

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

func (*MockGameRevisionFeatureRepository) FindByFeatureID

FindByFeatureID mocks base method

func (*MockGameRevisionFeatureRepository) FindByGameRevisionID

func (m *MockGameRevisionFeatureRepository) FindByGameRevisionID(arg0 context.Context, arg1 uint) ([]entity.GameRevisionFeature, error)

FindByGameRevisionID mocks base method

func (*MockGameRevisionFeatureRepository) FindByGameRevisionIDAndFeatureIDs

func (m *MockGameRevisionFeatureRepository) FindByGameRevisionIDAndFeatureIDs(arg0 context.Context, arg1 uint, arg2 []uint) ([]entity.GameRevisionFeature, error)

FindByGameRevisionIDAndFeatureIDs mocks base method

func (*MockGameRevisionFeatureRepository) FindByGameRevisionIDs

func (m *MockGameRevisionFeatureRepository) FindByGameRevisionIDs(arg0 context.Context, arg1 []uint) ([]entity.GameRevisionFeature, error)

FindByGameRevisionIDs mocks base method

type MockGameRevisionFeatureRepositoryMockRecorder

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

MockGameRevisionFeatureRepositoryMockRecorder is the mock recorder for MockGameRevisionFeatureRepository

func (*MockGameRevisionFeatureRepositoryMockRecorder) Create

func (mr *MockGameRevisionFeatureRepositoryMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockGameRevisionFeatureRepositoryMockRecorder) CreateMultiple

func (mr *MockGameRevisionFeatureRepositoryMockRecorder) CreateMultiple(arg0, arg1 interface{}) *gomock.Call

CreateMultiple indicates an expected call of CreateMultiple

func (*MockGameRevisionFeatureRepositoryMockRecorder) Delete

func (mr *MockGameRevisionFeatureRepositoryMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockGameRevisionFeatureRepositoryMockRecorder) DeleteMultiple

func (mr *MockGameRevisionFeatureRepositoryMockRecorder) DeleteMultiple(arg0, arg1 interface{}) *gomock.Call

DeleteMultiple indicates an expected call of DeleteMultiple

func (*MockGameRevisionFeatureRepositoryMockRecorder) FindByFeatureID

func (mr *MockGameRevisionFeatureRepositoryMockRecorder) FindByFeatureID(arg0, arg1 interface{}) *gomock.Call

FindByFeatureID indicates an expected call of FindByFeatureID

func (*MockGameRevisionFeatureRepositoryMockRecorder) FindByGameRevisionID

func (mr *MockGameRevisionFeatureRepositoryMockRecorder) FindByGameRevisionID(arg0, arg1 interface{}) *gomock.Call

FindByGameRevisionID indicates an expected call of FindByGameRevisionID

func (*MockGameRevisionFeatureRepositoryMockRecorder) FindByGameRevisionIDAndFeatureIDs

func (mr *MockGameRevisionFeatureRepositoryMockRecorder) FindByGameRevisionIDAndFeatureIDs(arg0, arg1, arg2 interface{}) *gomock.Call

FindByGameRevisionIDAndFeatureIDs indicates an expected call of FindByGameRevisionIDAndFeatureIDs

func (*MockGameRevisionFeatureRepositoryMockRecorder) FindByGameRevisionIDs

func (mr *MockGameRevisionFeatureRepositoryMockRecorder) FindByGameRevisionIDs(arg0, arg1 interface{}) *gomock.Call

FindByGameRevisionIDs indicates an expected call of FindByGameRevisionIDs

type MockGameRevisionGenreRepository

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

MockGameRevisionGenreRepository is a mock of GameRevisionGenreRepository interface

func NewMockGameRevisionGenreRepository

func NewMockGameRevisionGenreRepository(ctrl *gomock.Controller) *MockGameRevisionGenreRepository

NewMockGameRevisionGenreRepository creates a new mock instance

func (*MockGameRevisionGenreRepository) Create

Create mocks base method

func (*MockGameRevisionGenreRepository) CreateMultiple

CreateMultiple mocks base method

func (*MockGameRevisionGenreRepository) Delete

Delete mocks base method

func (*MockGameRevisionGenreRepository) DeleteMultiple

DeleteMultiple mocks base method

func (*MockGameRevisionGenreRepository) EXPECT

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

func (*MockGameRevisionGenreRepository) FindByGameRevisionID

func (m *MockGameRevisionGenreRepository) FindByGameRevisionID(arg0 context.Context, arg1 uint) ([]entity.GameRevisionGenre, error)

FindByGameRevisionID mocks base method

func (*MockGameRevisionGenreRepository) FindByGameRevisionIDAndGenreIDs

func (m *MockGameRevisionGenreRepository) FindByGameRevisionIDAndGenreIDs(arg0 context.Context, arg1 uint, arg2 []uint) ([]entity.GameRevisionGenre, error)

FindByGameRevisionIDAndGenreIDs mocks base method

func (*MockGameRevisionGenreRepository) FindByGameRevisionIDs

func (m *MockGameRevisionGenreRepository) FindByGameRevisionIDs(arg0 context.Context, arg1 []uint) ([]entity.GameRevisionGenre, error)

FindByGameRevisionIDs mocks base method

func (*MockGameRevisionGenreRepository) FindByGenreID

FindByGenreID mocks base method

type MockGameRevisionGenreRepositoryMockRecorder

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

MockGameRevisionGenreRepositoryMockRecorder is the mock recorder for MockGameRevisionGenreRepository

func (*MockGameRevisionGenreRepositoryMockRecorder) Create

func (mr *MockGameRevisionGenreRepositoryMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockGameRevisionGenreRepositoryMockRecorder) CreateMultiple

func (mr *MockGameRevisionGenreRepositoryMockRecorder) CreateMultiple(arg0, arg1 interface{}) *gomock.Call

CreateMultiple indicates an expected call of CreateMultiple

func (*MockGameRevisionGenreRepositoryMockRecorder) Delete

func (mr *MockGameRevisionGenreRepositoryMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockGameRevisionGenreRepositoryMockRecorder) DeleteMultiple

func (mr *MockGameRevisionGenreRepositoryMockRecorder) DeleteMultiple(arg0, arg1 interface{}) *gomock.Call

DeleteMultiple indicates an expected call of DeleteMultiple

func (*MockGameRevisionGenreRepositoryMockRecorder) FindByGameRevisionID

func (mr *MockGameRevisionGenreRepositoryMockRecorder) FindByGameRevisionID(arg0, arg1 interface{}) *gomock.Call

FindByGameRevisionID indicates an expected call of FindByGameRevisionID

func (*MockGameRevisionGenreRepositoryMockRecorder) FindByGameRevisionIDAndGenreIDs

func (mr *MockGameRevisionGenreRepositoryMockRecorder) FindByGameRevisionIDAndGenreIDs(arg0, arg1, arg2 interface{}) *gomock.Call

FindByGameRevisionIDAndGenreIDs indicates an expected call of FindByGameRevisionIDAndGenreIDs

func (*MockGameRevisionGenreRepositoryMockRecorder) FindByGameRevisionIDs

func (mr *MockGameRevisionGenreRepositoryMockRecorder) FindByGameRevisionIDs(arg0, arg1 interface{}) *gomock.Call

FindByGameRevisionIDs indicates an expected call of FindByGameRevisionIDs

func (*MockGameRevisionGenreRepositoryMockRecorder) FindByGenreID

func (mr *MockGameRevisionGenreRepositoryMockRecorder) FindByGenreID(arg0, arg1 interface{}) *gomock.Call

FindByGenreID indicates an expected call of FindByGenreID

type MockGameRevisionL10nService

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

MockGameRevisionL10nService is a mock of GameRevisionL10nService interface

func NewMockGameRevisionL10nService

func NewMockGameRevisionL10nService(ctrl *gomock.Controller) *MockGameRevisionL10nService

NewMockGameRevisionL10nService creates a new mock instance

func (*MockGameRevisionL10nService) Create

Create mocks base method

func (*MockGameRevisionL10nService) Delete

func (m *MockGameRevisionL10nService) Delete(arg0 context.Context, arg1 uint) error

Delete mocks base method

func (*MockGameRevisionL10nService) DeleteMultiple

func (m *MockGameRevisionL10nService) DeleteMultiple(arg0 context.Context, arg1 []uint) error

DeleteMultiple mocks base method

func (*MockGameRevisionL10nService) EXPECT

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

func (*MockGameRevisionL10nService) GetByGameRevisionID

func (m *MockGameRevisionL10nService) GetByGameRevisionID(arg0 context.Context, arg1 uint) ([]entity.GameRevisionL10n, error)

GetByGameRevisionID mocks base method

func (*MockGameRevisionL10nService) GetByID

GetByID mocks base method

func (*MockGameRevisionL10nService) UpdateForGameRevision

func (m *MockGameRevisionL10nService) UpdateForGameRevision(arg0 context.Context, arg1 *entity.GameRevision, arg2 []service.GameRevisionL10nData) error

UpdateForGameRevision mocks base method

type MockGameRevisionL10nServiceMockRecorder

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

MockGameRevisionL10nServiceMockRecorder is the mock recorder for MockGameRevisionL10nService

func (*MockGameRevisionL10nServiceMockRecorder) Create

func (mr *MockGameRevisionL10nServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockGameRevisionL10nServiceMockRecorder) Delete

func (mr *MockGameRevisionL10nServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockGameRevisionL10nServiceMockRecorder) DeleteMultiple

func (mr *MockGameRevisionL10nServiceMockRecorder) DeleteMultiple(arg0, arg1 interface{}) *gomock.Call

DeleteMultiple indicates an expected call of DeleteMultiple

func (*MockGameRevisionL10nServiceMockRecorder) GetByGameRevisionID

func (mr *MockGameRevisionL10nServiceMockRecorder) GetByGameRevisionID(arg0, arg1 interface{}) *gomock.Call

GetByGameRevisionID indicates an expected call of GetByGameRevisionID

func (*MockGameRevisionL10nServiceMockRecorder) GetByID

func (mr *MockGameRevisionL10nServiceMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID

func (*MockGameRevisionL10nServiceMockRecorder) UpdateForGameRevision

func (mr *MockGameRevisionL10nServiceMockRecorder) UpdateForGameRevision(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateForGameRevision indicates an expected call of UpdateForGameRevision

type MockGameRevisionTagRepository

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

MockGameRevisionTagRepository is a mock of GameRevisionTagRepository interface

func NewMockGameRevisionTagRepository

func NewMockGameRevisionTagRepository(ctrl *gomock.Controller) *MockGameRevisionTagRepository

NewMockGameRevisionTagRepository creates a new mock instance

func (*MockGameRevisionTagRepository) Create

Create mocks base method

func (*MockGameRevisionTagRepository) CreateMultiple

func (m *MockGameRevisionTagRepository) CreateMultiple(arg0 context.Context, arg1 []entity.GameRevisionTag) error

CreateMultiple mocks base method

func (*MockGameRevisionTagRepository) Delete

Delete mocks base method

func (*MockGameRevisionTagRepository) DeleteMultiple

func (m *MockGameRevisionTagRepository) DeleteMultiple(arg0 context.Context, arg1 []entity.GameRevisionTag) error

DeleteMultiple mocks base method

func (*MockGameRevisionTagRepository) EXPECT

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

func (*MockGameRevisionTagRepository) FindByGameRevisionID

func (m *MockGameRevisionTagRepository) FindByGameRevisionID(arg0 context.Context, arg1 uint) ([]entity.GameRevisionTag, error)

FindByGameRevisionID mocks base method

func (*MockGameRevisionTagRepository) FindByGameRevisionIDAndTagIDs

func (m *MockGameRevisionTagRepository) FindByGameRevisionIDAndTagIDs(arg0 context.Context, arg1 uint, arg2 []uint) ([]entity.GameRevisionTag, error)

FindByGameRevisionIDAndTagIDs mocks base method

func (*MockGameRevisionTagRepository) FindByGameRevisionIDs

func (m *MockGameRevisionTagRepository) FindByGameRevisionIDs(arg0 context.Context, arg1 []uint) ([]entity.GameRevisionTag, error)

FindByGameRevisionIDs mocks base method

func (*MockGameRevisionTagRepository) FindByTagID

FindByTagID mocks base method

type MockGameRevisionTagRepositoryMockRecorder

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

MockGameRevisionTagRepositoryMockRecorder is the mock recorder for MockGameRevisionTagRepository

func (*MockGameRevisionTagRepositoryMockRecorder) Create

func (mr *MockGameRevisionTagRepositoryMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockGameRevisionTagRepositoryMockRecorder) CreateMultiple

func (mr *MockGameRevisionTagRepositoryMockRecorder) CreateMultiple(arg0, arg1 interface{}) *gomock.Call

CreateMultiple indicates an expected call of CreateMultiple

func (*MockGameRevisionTagRepositoryMockRecorder) Delete

func (mr *MockGameRevisionTagRepositoryMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockGameRevisionTagRepositoryMockRecorder) DeleteMultiple

func (mr *MockGameRevisionTagRepositoryMockRecorder) DeleteMultiple(arg0, arg1 interface{}) *gomock.Call

DeleteMultiple indicates an expected call of DeleteMultiple

func (*MockGameRevisionTagRepositoryMockRecorder) FindByGameRevisionID

func (mr *MockGameRevisionTagRepositoryMockRecorder) FindByGameRevisionID(arg0, arg1 interface{}) *gomock.Call

FindByGameRevisionID indicates an expected call of FindByGameRevisionID

func (*MockGameRevisionTagRepositoryMockRecorder) FindByGameRevisionIDAndTagIDs

func (mr *MockGameRevisionTagRepositoryMockRecorder) FindByGameRevisionIDAndTagIDs(arg0, arg1, arg2 interface{}) *gomock.Call

FindByGameRevisionIDAndTagIDs indicates an expected call of FindByGameRevisionIDAndTagIDs

func (*MockGameRevisionTagRepositoryMockRecorder) FindByGameRevisionIDs

func (mr *MockGameRevisionTagRepositoryMockRecorder) FindByGameRevisionIDs(arg0, arg1 interface{}) *gomock.Call

FindByGameRevisionIDs indicates an expected call of FindByGameRevisionIDs

func (*MockGameRevisionTagRepositoryMockRecorder) FindByTagID

func (mr *MockGameRevisionTagRepositoryMockRecorder) FindByTagID(arg0, arg1 interface{}) *gomock.Call

FindByTagID indicates an expected call of FindByTagID

type MockGameService

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

MockGameService is a mock of GameService interface

func NewMockGameService

func NewMockGameService(ctrl *gomock.Controller) *MockGameService

NewMockGameService creates a new mock instance

func (*MockGameService) Create

Create mocks base method

func (*MockGameService) Delete

func (m *MockGameService) Delete(arg0 context.Context, arg1 string) error

Delete mocks base method

func (*MockGameService) EXPECT

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

func (*MockGameService) GetByFilter

func (m *MockGameService) GetByFilter(arg0 context.Context, arg1 *service.GetByFilterGameData) ([]entity.Game, error)

GetByFilter mocks base method

func (*MockGameService) GetByID

func (m *MockGameService) GetByID(arg0 context.Context, arg1 string) (*entity.Game, error)

GetByID mocks base method

func (*MockGameService) GetBySKU

func (m *MockGameService) GetBySKU(arg0 context.Context, arg1 string) (*entity.Game, error)

GetBySKU mocks base method

func (*MockGameService) GetCountByFilter

func (m *MockGameService) GetCountByFilter(arg0 context.Context, arg1 *service.GetByFilterGameData) (int, error)

GetCountByFilter mocks base method

func (*MockGameService) GetExByFilter

func (m *MockGameService) GetExByFilter(arg0 context.Context, arg1 *service.GetByFilterGameData) ([]entity.GameEx, error)

GetExByFilter mocks base method

func (*MockGameService) GetExByID

func (m *MockGameService) GetExByID(arg0 context.Context, arg1 string) (*entity.GameEx, error)

GetExByID mocks base method

func (*MockGameService) GetExBySlug

func (m *MockGameService) GetExBySlug(arg0 context.Context, arg1 string) (*entity.GameEx, error)

GetExBySlug mocks base method

func (*MockGameService) GetExLastPublishedByID

func (m *MockGameService) GetExLastPublishedByID(arg0 context.Context, arg1 string) (*entity.GameEx, error)

GetExLastPublishedByID mocks base method

func (*MockGameService) GetExLastPublishedBySKU

func (m *MockGameService) GetExLastPublishedBySKU(arg0 context.Context, arg1 string) (*entity.GameEx, error)

GetExLastPublishedBySKU mocks base method

func (*MockGameService) Publish

func (m *MockGameService) Publish(arg0 context.Context, arg1 string) error

Publish mocks base method

func (*MockGameService) Update

Update mocks base method

type MockGameServiceMockRecorder

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

MockGameServiceMockRecorder is the mock recorder for MockGameService

func (*MockGameServiceMockRecorder) Create

func (mr *MockGameServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockGameServiceMockRecorder) Delete

func (mr *MockGameServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockGameServiceMockRecorder) GetByFilter

func (mr *MockGameServiceMockRecorder) GetByFilter(arg0, arg1 interface{}) *gomock.Call

GetByFilter indicates an expected call of GetByFilter

func (*MockGameServiceMockRecorder) GetByID

func (mr *MockGameServiceMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID

func (*MockGameServiceMockRecorder) GetBySKU

func (mr *MockGameServiceMockRecorder) GetBySKU(arg0, arg1 interface{}) *gomock.Call

GetBySKU indicates an expected call of GetBySKU

func (*MockGameServiceMockRecorder) GetCountByFilter

func (mr *MockGameServiceMockRecorder) GetCountByFilter(arg0, arg1 interface{}) *gomock.Call

GetCountByFilter indicates an expected call of GetCountByFilter

func (*MockGameServiceMockRecorder) GetExByFilter

func (mr *MockGameServiceMockRecorder) GetExByFilter(arg0, arg1 interface{}) *gomock.Call

GetExByFilter indicates an expected call of GetExByFilter

func (*MockGameServiceMockRecorder) GetExByID

func (mr *MockGameServiceMockRecorder) GetExByID(arg0, arg1 interface{}) *gomock.Call

GetExByID indicates an expected call of GetExByID

func (*MockGameServiceMockRecorder) GetExBySlug

func (mr *MockGameServiceMockRecorder) GetExBySlug(arg0, arg1 interface{}) *gomock.Call

GetExBySlug indicates an expected call of GetExBySlug

func (*MockGameServiceMockRecorder) GetExLastPublishedByID

func (mr *MockGameServiceMockRecorder) GetExLastPublishedByID(arg0, arg1 interface{}) *gomock.Call

GetExLastPublishedByID indicates an expected call of GetExLastPublishedByID

func (*MockGameServiceMockRecorder) GetExLastPublishedBySKU

func (mr *MockGameServiceMockRecorder) GetExLastPublishedBySKU(arg0, arg1 interface{}) *gomock.Call

GetExLastPublishedBySKU indicates an expected call of GetExLastPublishedBySKU

func (*MockGameServiceMockRecorder) Publish

func (mr *MockGameServiceMockRecorder) Publish(arg0, arg1 interface{}) *gomock.Call

Publish indicates an expected call of Publish

func (*MockGameServiceMockRecorder) Update

func (mr *MockGameServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockGenreRepository

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

MockGenreRepository is a mock of GenreRepository interface

func NewMockGenreRepository

func NewMockGenreRepository(ctrl *gomock.Controller) *MockGenreRepository

NewMockGenreRepository creates a new mock instance

func (*MockGenreRepository) Create

func (m *MockGenreRepository) Create(arg0 context.Context, arg1 *entity.Genre) error

Create mocks base method

func (*MockGenreRepository) Delete

func (m *MockGenreRepository) Delete(arg0 context.Context, arg1 *entity.Genre) error

Delete mocks base method

func (*MockGenreRepository) EXPECT

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

func (*MockGenreRepository) FindAll

func (m *MockGenreRepository) FindAll(arg0 context.Context) ([]entity.Genre, error)

FindAll mocks base method

func (*MockGenreRepository) FindByID

func (m *MockGenreRepository) FindByID(arg0 context.Context, arg1 uint) (*entity.Genre, error)

FindByID mocks base method

func (*MockGenreRepository) FindByIDs

func (m *MockGenreRepository) FindByIDs(arg0 context.Context, arg1 []uint) ([]entity.Genre, error)

FindByIDs mocks base method

func (*MockGenreRepository) Update

func (m *MockGenreRepository) Update(arg0 context.Context, arg1 *entity.Genre) error

Update mocks base method

type MockGenreRepositoryMockRecorder

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

MockGenreRepositoryMockRecorder is the mock recorder for MockGenreRepository

func (*MockGenreRepositoryMockRecorder) Create

func (mr *MockGenreRepositoryMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockGenreRepositoryMockRecorder) Delete

func (mr *MockGenreRepositoryMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockGenreRepositoryMockRecorder) FindAll

func (mr *MockGenreRepositoryMockRecorder) FindAll(arg0 interface{}) *gomock.Call

FindAll indicates an expected call of FindAll

func (*MockGenreRepositoryMockRecorder) FindByID

func (mr *MockGenreRepositoryMockRecorder) FindByID(arg0, arg1 interface{}) *gomock.Call

FindByID indicates an expected call of FindByID

func (*MockGenreRepositoryMockRecorder) FindByIDs

func (mr *MockGenreRepositoryMockRecorder) FindByIDs(arg0, arg1 interface{}) *gomock.Call

FindByIDs indicates an expected call of FindByIDs

func (*MockGenreRepositoryMockRecorder) Update

func (mr *MockGenreRepositoryMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockGenreService

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

MockGenreService is a mock of GenreService interface

func NewMockGenreService

func NewMockGenreService(ctrl *gomock.Controller) *MockGenreService

NewMockGenreService creates a new mock instance

func (*MockGenreService) Create

Create mocks base method

func (*MockGenreService) Delete

func (m *MockGenreService) Delete(arg0 context.Context, arg1 uint) error

Delete mocks base method

func (*MockGenreService) EXPECT

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

func (*MockGenreService) GetByGameRevisionID

func (m *MockGenreService) GetByGameRevisionID(arg0 context.Context, arg1 uint) ([]entity.Genre, error)

GetByGameRevisionID mocks base method

func (*MockGenreService) GetByID

func (m *MockGenreService) GetByID(arg0 context.Context, arg1 uint) (*entity.Genre, error)

GetByID mocks base method

func (*MockGenreService) GetByIDs

func (m *MockGenreService) GetByIDs(arg0 context.Context, arg1 []uint) ([]entity.Genre, error)

GetByIDs mocks base method

func (*MockGenreService) GetExistByID

func (m *MockGenreService) GetExistByID(arg0 context.Context, arg1 uint) (*entity.Genre, error)

GetExistByID mocks base method

func (*MockGenreService) Update

Update mocks base method

func (*MockGenreService) UpdateGenresForGameRevision

func (m *MockGenreService) UpdateGenresForGameRevision(arg0 context.Context, arg1 *entity.GameRevision, arg2 []uint) error

UpdateGenresForGameRevision mocks base method

type MockGenreServiceMockRecorder

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

MockGenreServiceMockRecorder is the mock recorder for MockGenreService

func (*MockGenreServiceMockRecorder) Create

func (mr *MockGenreServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockGenreServiceMockRecorder) Delete

func (mr *MockGenreServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockGenreServiceMockRecorder) GetByGameRevisionID

func (mr *MockGenreServiceMockRecorder) GetByGameRevisionID(arg0, arg1 interface{}) *gomock.Call

GetByGameRevisionID indicates an expected call of GetByGameRevisionID

func (*MockGenreServiceMockRecorder) GetByID

func (mr *MockGenreServiceMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID

func (*MockGenreServiceMockRecorder) GetByIDs

func (mr *MockGenreServiceMockRecorder) GetByIDs(arg0, arg1 interface{}) *gomock.Call

GetByIDs indicates an expected call of GetByIDs

func (*MockGenreServiceMockRecorder) GetExistByID

func (mr *MockGenreServiceMockRecorder) GetExistByID(arg0, arg1 interface{}) *gomock.Call

GetExistByID indicates an expected call of GetExistByID

func (*MockGenreServiceMockRecorder) Update

func (mr *MockGenreServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update

func (*MockGenreServiceMockRecorder) UpdateGenresForGameRevision

func (mr *MockGenreServiceMockRecorder) UpdateGenresForGameRevision(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateGenresForGameRevision indicates an expected call of UpdateGenresForGameRevision

type MockReviewService

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

MockReviewService is a mock of ReviewService interface

func NewMockReviewService

func NewMockReviewService(ctrl *gomock.Controller) *MockReviewService

NewMockReviewService creates a new mock instance

func (*MockReviewService) EXPECT

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

func (*MockReviewService) GetByGameRevisionID

func (m *MockReviewService) GetByGameRevisionID(arg0 context.Context, arg1 uint) ([]entity.Review, error)

GetByGameRevisionID mocks base method

func (*MockReviewService) UpdateReviewsForGameRevision

func (m *MockReviewService) UpdateReviewsForGameRevision(arg0 context.Context, arg1 *entity.GameRevision, arg2 []service.ReviewData) error

UpdateReviewsForGameRevision mocks base method

type MockReviewServiceMockRecorder

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

MockReviewServiceMockRecorder is the mock recorder for MockReviewService

func (*MockReviewServiceMockRecorder) GetByGameRevisionID

func (mr *MockReviewServiceMockRecorder) GetByGameRevisionID(arg0, arg1 interface{}) *gomock.Call

GetByGameRevisionID indicates an expected call of GetByGameRevisionID

func (*MockReviewServiceMockRecorder) UpdateReviewsForGameRevision

func (mr *MockReviewServiceMockRecorder) UpdateReviewsForGameRevision(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateReviewsForGameRevision indicates an expected call of UpdateReviewsForGameRevision

type MockStorefrontService

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

MockStorefrontService is a mock of StorefrontService interface

func NewMockStorefrontService

func NewMockStorefrontService(ctrl *gomock.Controller) *MockStorefrontService

NewMockStorefrontService creates a new mock instance

func (*MockStorefrontService) Activate

func (m *MockStorefrontService) Activate(arg0 context.Context, arg1 uint) error

Activate mocks base method

func (*MockStorefrontService) Create

Create mocks base method

func (*MockStorefrontService) Delete

func (m *MockStorefrontService) Delete(arg0 context.Context, arg1 uint) error

Delete mocks base method

func (*MockStorefrontService) EXPECT

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

func (*MockStorefrontService) GetActive

GetActive mocks base method

func (*MockStorefrontService) GetByFilter

GetByFilter mocks base method

func (*MockStorefrontService) GetByID

func (m *MockStorefrontService) GetByID(arg0 context.Context, arg1 uint) (*entity.Storefront, error)

GetByID mocks base method

func (*MockStorefrontService) GetCountByFilter

func (m *MockStorefrontService) GetCountByFilter(arg0 context.Context) (int, error)

GetCountByFilter mocks base method

func (*MockStorefrontService) Update

Update mocks base method

type MockStorefrontServiceMockRecorder

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

MockStorefrontServiceMockRecorder is the mock recorder for MockStorefrontService

func (*MockStorefrontServiceMockRecorder) Activate

func (mr *MockStorefrontServiceMockRecorder) Activate(arg0, arg1 interface{}) *gomock.Call

Activate indicates an expected call of Activate

func (*MockStorefrontServiceMockRecorder) Create

func (mr *MockStorefrontServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockStorefrontServiceMockRecorder) Delete

func (mr *MockStorefrontServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockStorefrontServiceMockRecorder) GetActive

func (mr *MockStorefrontServiceMockRecorder) GetActive(arg0 interface{}) *gomock.Call

GetActive indicates an expected call of GetActive

func (*MockStorefrontServiceMockRecorder) GetByFilter

func (mr *MockStorefrontServiceMockRecorder) GetByFilter(arg0, arg1 interface{}) *gomock.Call

GetByFilter indicates an expected call of GetByFilter

func (*MockStorefrontServiceMockRecorder) GetByID

func (mr *MockStorefrontServiceMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID

func (*MockStorefrontServiceMockRecorder) GetCountByFilter

func (mr *MockStorefrontServiceMockRecorder) GetCountByFilter(arg0 interface{}) *gomock.Call

GetCountByFilter indicates an expected call of GetCountByFilter

func (*MockStorefrontServiceMockRecorder) Update

func (mr *MockStorefrontServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockTagRepository

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

MockTagRepository is a mock of TagRepository interface

func NewMockTagRepository

func NewMockTagRepository(ctrl *gomock.Controller) *MockTagRepository

NewMockTagRepository creates a new mock instance

func (*MockTagRepository) Create

func (m *MockTagRepository) Create(arg0 context.Context, arg1 *entity.Tag) error

Create mocks base method

func (*MockTagRepository) Delete

func (m *MockTagRepository) Delete(arg0 context.Context, arg1 *entity.Tag) error

Delete mocks base method

func (*MockTagRepository) EXPECT

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

func (*MockTagRepository) FindAll

func (m *MockTagRepository) FindAll(arg0 context.Context) ([]entity.Tag, error)

FindAll mocks base method

func (*MockTagRepository) FindByID

func (m *MockTagRepository) FindByID(arg0 context.Context, arg1 uint) (*entity.Tag, error)

FindByID mocks base method

func (*MockTagRepository) FindByIDs

func (m *MockTagRepository) FindByIDs(arg0 context.Context, arg1 []uint) ([]entity.Tag, error)

FindByIDs mocks base method

func (*MockTagRepository) Update

func (m *MockTagRepository) Update(arg0 context.Context, arg1 *entity.Tag) error

Update mocks base method

type MockTagRepositoryMockRecorder

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

MockTagRepositoryMockRecorder is the mock recorder for MockTagRepository

func (*MockTagRepositoryMockRecorder) Create

func (mr *MockTagRepositoryMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockTagRepositoryMockRecorder) Delete

func (mr *MockTagRepositoryMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockTagRepositoryMockRecorder) FindAll

func (mr *MockTagRepositoryMockRecorder) FindAll(arg0 interface{}) *gomock.Call

FindAll indicates an expected call of FindAll

func (*MockTagRepositoryMockRecorder) FindByID

func (mr *MockTagRepositoryMockRecorder) FindByID(arg0, arg1 interface{}) *gomock.Call

FindByID indicates an expected call of FindByID

func (*MockTagRepositoryMockRecorder) FindByIDs

func (mr *MockTagRepositoryMockRecorder) FindByIDs(arg0, arg1 interface{}) *gomock.Call

FindByIDs indicates an expected call of FindByIDs

func (*MockTagRepositoryMockRecorder) Update

func (mr *MockTagRepositoryMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockTagService

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

MockTagService is a mock of TagService interface

func NewMockTagService

func NewMockTagService(ctrl *gomock.Controller) *MockTagService

NewMockTagService creates a new mock instance

func (*MockTagService) Create

func (m *MockTagService) Create(arg0 context.Context, arg1 *service.CreateTagData) (*entity.Tag, error)

Create mocks base method

func (*MockTagService) Delete

func (m *MockTagService) Delete(arg0 context.Context, arg1 uint) error

Delete mocks base method

func (*MockTagService) EXPECT

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

func (*MockTagService) GetByGameRevisionID

func (m *MockTagService) GetByGameRevisionID(arg0 context.Context, arg1 uint) ([]entity.Tag, error)

GetByGameRevisionID mocks base method

func (*MockTagService) GetByID

func (m *MockTagService) GetByID(arg0 context.Context, arg1 uint) (*entity.Tag, error)

GetByID mocks base method

func (*MockTagService) GetByIDs

func (m *MockTagService) GetByIDs(arg0 context.Context, arg1 []uint) ([]entity.Tag, error)

GetByIDs mocks base method

func (*MockTagService) GetExistByID

func (m *MockTagService) GetExistByID(arg0 context.Context, arg1 uint) (*entity.Tag, error)

GetExistByID mocks base method

func (*MockTagService) Update

func (m *MockTagService) Update(arg0 context.Context, arg1 *service.UpdateTagData) (*entity.Tag, error)

Update mocks base method

func (*MockTagService) UpdateTagsForGameRevision

func (m *MockTagService) UpdateTagsForGameRevision(arg0 context.Context, arg1 *entity.GameRevision, arg2 []uint) error

UpdateTagsForGameRevision mocks base method

type MockTagServiceMockRecorder

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

MockTagServiceMockRecorder is the mock recorder for MockTagService

func (*MockTagServiceMockRecorder) Create

func (mr *MockTagServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockTagServiceMockRecorder) Delete

func (mr *MockTagServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockTagServiceMockRecorder) GetByGameRevisionID

func (mr *MockTagServiceMockRecorder) GetByGameRevisionID(arg0, arg1 interface{}) *gomock.Call

GetByGameRevisionID indicates an expected call of GetByGameRevisionID

func (*MockTagServiceMockRecorder) GetByID

func (mr *MockTagServiceMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID

func (*MockTagServiceMockRecorder) GetByIDs

func (mr *MockTagServiceMockRecorder) GetByIDs(arg0, arg1 interface{}) *gomock.Call

GetByIDs indicates an expected call of GetByIDs

func (*MockTagServiceMockRecorder) GetExistByID

func (mr *MockTagServiceMockRecorder) GetExistByID(arg0, arg1 interface{}) *gomock.Call

GetExistByID indicates an expected call of GetExistByID

func (*MockTagServiceMockRecorder) Update

func (mr *MockTagServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update

func (*MockTagServiceMockRecorder) UpdateTagsForGameRevision

func (mr *MockTagServiceMockRecorder) UpdateTagsForGameRevision(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateTagsForGameRevision indicates an expected call of UpdateTagsForGameRevision

Jump to

Keyboard shortcuts

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