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 ¶
- type MockIBillRepository
- func (m *MockIBillRepository) Create(billAggregation *entities.BillAggregation, executor gorp.SqlExecutor) (int, error)
- func (m *MockIBillRepository) EXPECT() *MockIBillRepositoryMockRecorder
- func (m *MockIBillRepository) GetById(id int, executor gorp.SqlExecutor) (*entities.BillAggregation, error)
- func (m *MockIBillRepository) GetByUserId(userId int, executor gorp.SqlExecutor) ([]*entities.BillAggregation, error)
- type MockIBillRepositoryMockRecorder
- type MockIContractRepository
- func (m *MockIContractRepository) Create(contractEntity *entities.ContractEntity, executor gorp.SqlExecutor) (int, error)
- func (m *MockIContractRepository) EXPECT() *MockIContractRepositoryMockRecorder
- func (m *MockIContractRepository) GetById(id int, executor gorp.SqlExecutor) (*entities.ContractEntity, *entities.ProductEntity, interface{}, error)
- type MockIContractRepositoryMockRecorder
- type MockIProductRepository
- func (m *MockIProductRepository) EXPECT() *MockIProductRepositoryMockRecorder
- func (m *MockIProductRepository) GetById(id int, executor gorp.SqlExecutor) (*entities.ProductEntity, error)
- func (m *MockIProductRepository) GetByName(name string, executor gorp.SqlExecutor) (*entities.ProductEntity, error)
- func (m *MockIProductRepository) GetByRightToUseId(rightToUseId int, executor gorp.SqlExecutor) (*entities.ProductEntity, error)
- func (m *MockIProductRepository) Save(productEntity *entities.ProductEntity, executor gorp.SqlExecutor) (int, error)
- type MockIProductRepositoryMockRecorder
- func (mr *MockIProductRepositoryMockRecorder) GetById(id, executor interface{}) *gomock.Call
- func (mr *MockIProductRepositoryMockRecorder) GetByName(name, executor interface{}) *gomock.Call
- func (mr *MockIProductRepositoryMockRecorder) GetByRightToUseId(rightToUseId, executor interface{}) *gomock.Call
- func (mr *MockIProductRepositoryMockRecorder) Save(productEntity, executor interface{}) *gomock.Call
- type MockIRightToUseRepository
- func (m *MockIRightToUseRepository) Create(rightToUseEntity *entities.RightToUseEntity, executor gorp.SqlExecutor) (int, error)
- func (m *MockIRightToUseRepository) EXPECT() *MockIRightToUseRepositoryMockRecorder
- func (m *MockIRightToUseRepository) GetBillingTargetByBillingDate(billingDate time.Time, executor gorp.SqlExecutor) ([]*entities.RightToUseEntity, error)
- func (m *MockIRightToUseRepository) GetById(id int, executor gorp.SqlExecutor) (*entities.RightToUseEntity, error)
- func (m *MockIRightToUseRepository) GetRecurTargets(executeDate time.Time, executor gorp.SqlExecutor) ([]*entities.RightToUseEntity, error)
- type MockIRightToUseRepositoryMockRecorder
- func (mr *MockIRightToUseRepositoryMockRecorder) Create(rightToUseEntity, executor interface{}) *gomock.Call
- func (mr *MockIRightToUseRepositoryMockRecorder) GetBillingTargetByBillingDate(billingDate, executor interface{}) *gomock.Call
- func (mr *MockIRightToUseRepositoryMockRecorder) GetById(id, executor interface{}) *gomock.Call
- func (mr *MockIRightToUseRepositoryMockRecorder) GetRecurTargets(executeDate, executor interface{}) *gomock.Call
- type MockIUserRepository
- func (m *MockIUserRepository) EXPECT() *MockIUserRepositoryMockRecorder
- func (m *MockIUserRepository) GetUserById(id int, executor gorp.SqlExecutor) (interface{}, error)
- func (m *MockIUserRepository) GetUserCorporationById(id int, executor gorp.SqlExecutor) (*entities.UserCorporationEntity, error)
- func (m *MockIUserRepository) GetUserIndividualById(id int, executor gorp.SqlExecutor) (*entities.UserIndividualEntity, error)
- func (m *MockIUserRepository) SaveUserCorporation(userEntity *entities.UserCorporationEntity, executor gorp.SqlExecutor) (int, error)
- func (m *MockIUserRepository) SaveUserIndividual(userEntity *entities.UserIndividualEntity, executor gorp.SqlExecutor) (int, error)
- type MockIUserRepositoryMockRecorder
- func (mr *MockIUserRepositoryMockRecorder) GetUserById(id, executor interface{}) *gomock.Call
- func (mr *MockIUserRepositoryMockRecorder) GetUserCorporationById(id, executor interface{}) *gomock.Call
- func (mr *MockIUserRepositoryMockRecorder) GetUserIndividualById(id, executor interface{}) *gomock.Call
- func (mr *MockIUserRepositoryMockRecorder) SaveUserCorporation(userEntity, executor interface{}) *gomock.Call
- func (mr *MockIUserRepositoryMockRecorder) SaveUserIndividual(userEntity, executor interface{}) *gomock.Call
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 ¶
func (m *MockIBillRepository) EXPECT() *MockIBillRepositoryMockRecorder
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 ¶
func (m *MockIContractRepository) EXPECT() *MockIContractRepositoryMockRecorder
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 ¶
func (m *MockIProductRepository) EXPECT() *MockIProductRepositoryMockRecorder
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 ¶
func (m *MockIRightToUseRepository) EXPECT() *MockIRightToUseRepositoryMockRecorder
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 ¶
func (m *MockIRightToUseRepository) GetById(id int, executor gorp.SqlExecutor) (*entities.RightToUseEntity, error)
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 ¶
func (m *MockIUserRepository) EXPECT() *MockIUserRepositoryMockRecorder
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.