Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
Repository is an autogenerated mock type for the Repository type
func NewRepository ¶
func NewRepository(t mockConstructorTestingTNewRepository) *Repository
NewRepository creates a new instance of Repository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Repository) Create ¶
func (_m *Repository) Create(orderDate string, orderNumber string, employeeId int, productBatchId int, warehouseId int) (inboundorders.InboundOrder, error)
Create provides a mock function with given fields: orderDate, orderNumber, employeeId, productBatchId, warehouseId
func (*Repository) GetCountByEmployee ¶
func (_m *Repository) GetCountByEmployee(id int) int
GetCountByEmployee provides a mock function with given fields: id
type Services ¶
Services is an autogenerated mock type for the Services type
func NewServices ¶
func NewServices(t mockConstructorTestingTNewServices) *Services
NewServices creates a new instance of Services. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Services) Create ¶
func (_m *Services) Create(orderDate string, orderNumber string, employeeId int, productBatchId int, warehouseId int) (inboundorders.InboundOrder, error)
Create provides a mock function with given fields: orderDate, orderNumber, employeeId, productBatchId, warehouseId
func (*Services) GetCounterByEmployee ¶
GetCounterByEmployee provides a mock function with given fields: id