mocks

package
v0.0.0-...-e85e4ab Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository struct {
	mock.Mock
}

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

type Services struct {
	mock.Mock
}

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

func (_m *Services) GetCounterByEmployee(id int) int

GetCounterByEmployee provides a mock function with given fields: id

Jump to

Keyboard shortcuts

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