mock_interfaces

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_interfaces is a generated GoMock package.

Package mock_interfaces is a generated GoMock package.

Package mock_interfaces is a generated GoMock package.

Package mock_interfaces is a generated GoMock package.

Package mock_interfaces is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIBillRepository

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

MockIBillRepository is a mock of IBillRepository interface.

func NewMockIBillRepository

func NewMockIBillRepository(ctrl *gomock.Controller) *MockIBillRepository

NewMockIBillRepository creates a new mock instance.

func (*MockIBillRepository) Create

func (m *MockIBillRepository) Create(billAggregation *entities.BillAggregation, executor gorp.SqlExecutor) (int, error)

Create mocks base method.

func (*MockIBillRepository) EXPECT

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

func (*MockIBillRepository) GetById

func (m *MockIBillRepository) GetById(id int, executor gorp.SqlExecutor) (*entities.BillAggregation, error)

GetById mocks base method.

func (*MockIBillRepository) GetByUserId

func (m *MockIBillRepository) GetByUserId(userId int, executor gorp.SqlExecutor) ([]*entities.BillAggregation, error)

GetByUserId mocks base method.

type MockIBillRepositoryMockRecorder

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

MockIBillRepositoryMockRecorder is the mock recorder for MockIBillRepository.

func (*MockIBillRepositoryMockRecorder) Create

func (mr *MockIBillRepositoryMockRecorder) Create(billAggregation, executor interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockIBillRepositoryMockRecorder) GetById

func (mr *MockIBillRepositoryMockRecorder) GetById(id, executor interface{}) *gomock.Call

GetById indicates an expected call of GetById.

func (*MockIBillRepositoryMockRecorder) GetByUserId

func (mr *MockIBillRepositoryMockRecorder) GetByUserId(userId, executor interface{}) *gomock.Call

GetByUserId indicates an expected call of GetByUserId.

type MockIContractRepository

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

MockIContractRepository is a mock of IContractRepository interface.

func NewMockIContractRepository

func NewMockIContractRepository(ctrl *gomock.Controller) *MockIContractRepository

NewMockIContractRepository creates a new mock instance.

func (*MockIContractRepository) Create

func (m *MockIContractRepository) Create(contractEntity *entities.ContractEntity, executor gorp.SqlExecutor) (int, error)

Create mocks base method.

func (*MockIContractRepository) EXPECT

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

func (*MockIContractRepository) GetById

func (m *MockIContractRepository) GetById(id int, executor gorp.SqlExecutor) (*entities.ContractEntity, *entities.ProductEntity, interface{}, error)

GetById mocks base method.

type MockIContractRepositoryMockRecorder

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

MockIContractRepositoryMockRecorder is the mock recorder for MockIContractRepository.

func (*MockIContractRepositoryMockRecorder) Create

func (mr *MockIContractRepositoryMockRecorder) Create(contractEntity, executor interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockIContractRepositoryMockRecorder) GetById

func (mr *MockIContractRepositoryMockRecorder) GetById(id, executor interface{}) *gomock.Call

GetById indicates an expected call of GetById.

type MockIProductRepository

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

MockIProductRepository is a mock of IProductRepository interface.

func NewMockIProductRepository

func NewMockIProductRepository(ctrl *gomock.Controller) *MockIProductRepository

NewMockIProductRepository creates a new mock instance.

func (*MockIProductRepository) EXPECT

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

func (*MockIProductRepository) GetById

func (m *MockIProductRepository) GetById(id int, executor gorp.SqlExecutor) (*entities.ProductEntity, error)

GetById mocks base method.

func (*MockIProductRepository) GetByName

func (m *MockIProductRepository) GetByName(name string, executor gorp.SqlExecutor) (*entities.ProductEntity, error)

GetByName mocks base method.

func (*MockIProductRepository) GetByRightToUseId

func (m *MockIProductRepository) GetByRightToUseId(rightToUseId int, executor gorp.SqlExecutor) (*entities.ProductEntity, error)

GetByRightToUseId mocks base method.

func (*MockIProductRepository) Save

func (m *MockIProductRepository) Save(productEntity *entities.ProductEntity, executor gorp.SqlExecutor) (int, error)

Save mocks base method.

type MockIProductRepositoryMockRecorder

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

MockIProductRepositoryMockRecorder is the mock recorder for MockIProductRepository.

func (*MockIProductRepositoryMockRecorder) GetById

func (mr *MockIProductRepositoryMockRecorder) GetById(id, executor interface{}) *gomock.Call

GetById indicates an expected call of GetById.

func (*MockIProductRepositoryMockRecorder) GetByName

func (mr *MockIProductRepositoryMockRecorder) GetByName(name, executor interface{}) *gomock.Call

GetByName indicates an expected call of GetByName.

func (*MockIProductRepositoryMockRecorder) GetByRightToUseId

func (mr *MockIProductRepositoryMockRecorder) GetByRightToUseId(rightToUseId, executor interface{}) *gomock.Call

GetByRightToUseId indicates an expected call of GetByRightToUseId.

func (*MockIProductRepositoryMockRecorder) Save

func (mr *MockIProductRepositoryMockRecorder) Save(productEntity, executor interface{}) *gomock.Call

Save indicates an expected call of Save.

type MockIRightToUseRepository

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

MockIRightToUseRepository is a mock of IRightToUseRepository interface.

func NewMockIRightToUseRepository

func NewMockIRightToUseRepository(ctrl *gomock.Controller) *MockIRightToUseRepository

NewMockIRightToUseRepository creates a new mock instance.

func (*MockIRightToUseRepository) Create

func (m *MockIRightToUseRepository) Create(rightToUseEntity *entities.RightToUseEntity, executor gorp.SqlExecutor) (int, error)

Create mocks base method.

func (*MockIRightToUseRepository) EXPECT

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

func (*MockIRightToUseRepository) GetBillingTargetByBillingDate

func (m *MockIRightToUseRepository) GetBillingTargetByBillingDate(billingDate time.Time, executor gorp.SqlExecutor) ([]*entities.RightToUseEntity, error)

GetBillingTargetByBillingDate mocks base method.

func (*MockIRightToUseRepository) GetById

GetById mocks base method.

func (*MockIRightToUseRepository) GetRecurTargets

func (m *MockIRightToUseRepository) GetRecurTargets(executeDate time.Time, executor gorp.SqlExecutor) ([]*entities.RightToUseEntity, error)

GetRecurTargets mocks base method.

type MockIRightToUseRepositoryMockRecorder

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

MockIRightToUseRepositoryMockRecorder is the mock recorder for MockIRightToUseRepository.

func (*MockIRightToUseRepositoryMockRecorder) Create

func (mr *MockIRightToUseRepositoryMockRecorder) Create(rightToUseEntity, executor interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockIRightToUseRepositoryMockRecorder) GetBillingTargetByBillingDate

func (mr *MockIRightToUseRepositoryMockRecorder) GetBillingTargetByBillingDate(billingDate, executor interface{}) *gomock.Call

GetBillingTargetByBillingDate indicates an expected call of GetBillingTargetByBillingDate.

func (*MockIRightToUseRepositoryMockRecorder) GetById

func (mr *MockIRightToUseRepositoryMockRecorder) GetById(id, executor interface{}) *gomock.Call

GetById indicates an expected call of GetById.

func (*MockIRightToUseRepositoryMockRecorder) GetRecurTargets

func (mr *MockIRightToUseRepositoryMockRecorder) GetRecurTargets(executeDate, executor interface{}) *gomock.Call

GetRecurTargets indicates an expected call of GetRecurTargets.

type MockIUserRepository

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

MockIUserRepository is a mock of IUserRepository interface.

func NewMockIUserRepository

func NewMockIUserRepository(ctrl *gomock.Controller) *MockIUserRepository

NewMockIUserRepository creates a new mock instance.

func (*MockIUserRepository) EXPECT

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

func (*MockIUserRepository) GetUserById

func (m *MockIUserRepository) GetUserById(id int, executor gorp.SqlExecutor) (interface{}, error)

GetUserById mocks base method.

func (*MockIUserRepository) GetUserCorporationById

func (m *MockIUserRepository) GetUserCorporationById(id int, executor gorp.SqlExecutor) (*entities.UserCorporationEntity, error)

GetUserCorporationById mocks base method.

func (*MockIUserRepository) GetUserIndividualById

func (m *MockIUserRepository) GetUserIndividualById(id int, executor gorp.SqlExecutor) (*entities.UserIndividualEntity, error)

GetUserIndividualById mocks base method.

func (*MockIUserRepository) SaveUserCorporation

func (m *MockIUserRepository) SaveUserCorporation(userEntity *entities.UserCorporationEntity, executor gorp.SqlExecutor) (int, error)

SaveUserCorporation mocks base method.

func (*MockIUserRepository) SaveUserIndividual

func (m *MockIUserRepository) SaveUserIndividual(userEntity *entities.UserIndividualEntity, executor gorp.SqlExecutor) (int, error)

SaveUserIndividual mocks base method.

type MockIUserRepositoryMockRecorder

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

MockIUserRepositoryMockRecorder is the mock recorder for MockIUserRepository.

func (*MockIUserRepositoryMockRecorder) GetUserById

func (mr *MockIUserRepositoryMockRecorder) GetUserById(id, executor interface{}) *gomock.Call

GetUserById indicates an expected call of GetUserById.

func (*MockIUserRepositoryMockRecorder) GetUserCorporationById

func (mr *MockIUserRepositoryMockRecorder) GetUserCorporationById(id, executor interface{}) *gomock.Call

GetUserCorporationById indicates an expected call of GetUserCorporationById.

func (*MockIUserRepositoryMockRecorder) GetUserIndividualById

func (mr *MockIUserRepositoryMockRecorder) GetUserIndividualById(id, executor interface{}) *gomock.Call

GetUserIndividualById indicates an expected call of GetUserIndividualById.

func (*MockIUserRepositoryMockRecorder) SaveUserCorporation

func (mr *MockIUserRepositoryMockRecorder) SaveUserCorporation(userEntity, executor interface{}) *gomock.Call

SaveUserCorporation indicates an expected call of SaveUserCorporation.

func (*MockIUserRepositoryMockRecorder) SaveUserIndividual

func (mr *MockIUserRepositoryMockRecorder) SaveUserIndividual(userEntity, executor interface{}) *gomock.Call

SaveUserIndividual indicates an expected call of SaveUserIndividual.

Jump to

Keyboard shortcuts

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