Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pageable ¶
Pageable is an autogenerated mock type for the Pageable type
func NewPageable ¶
func NewPageable(t mockConstructorTestingTNewPageable) *Pageable
NewPageable creates a new instance of Pageable. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Pageable) EXPECT ¶
func (_m *Pageable) EXPECT() *Pageable_Expecter
func (*Pageable) PageNumber ¶
PageNumber provides a mock function with given fields:
type Pageable_Expecter ¶
type Pageable_Expecter struct {
// contains filtered or unexported fields
}
func (*Pageable_Expecter) Offset ¶
func (_e *Pageable_Expecter) Offset() *Pageable_Offset_Call
Offset is a helper method to define mock.On call
func (*Pageable_Expecter) PageNumber ¶
func (_e *Pageable_Expecter) PageNumber() *Pageable_PageNumber_Call
PageNumber is a helper method to define mock.On call
func (*Pageable_Expecter) PageSize ¶
func (_e *Pageable_Expecter) PageSize() *Pageable_PageSize_Call
PageSize is a helper method to define mock.On call
type Pageable_Offset_Call ¶
Pageable_Offset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Offset'
func (*Pageable_Offset_Call) Return ¶
func (_c *Pageable_Offset_Call) Return(_a0 int) *Pageable_Offset_Call
func (*Pageable_Offset_Call) Run ¶
func (_c *Pageable_Offset_Call) Run(run func()) *Pageable_Offset_Call
type Pageable_PageNumber_Call ¶
Pageable_PageNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PageNumber'
func (*Pageable_PageNumber_Call) Return ¶
func (_c *Pageable_PageNumber_Call) Return(_a0 int) *Pageable_PageNumber_Call
func (*Pageable_PageNumber_Call) Run ¶
func (_c *Pageable_PageNumber_Call) Run(run func()) *Pageable_PageNumber_Call
type Pageable_PageSize_Call ¶
Pageable_PageSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PageSize'
func (*Pageable_PageSize_Call) Return ¶
func (_c *Pageable_PageSize_Call) Return(_a0 int) *Pageable_PageSize_Call
func (*Pageable_PageSize_Call) Run ¶
func (_c *Pageable_PageSize_Call) Run(run func()) *Pageable_PageSize_Call
type TotalSupplier ¶
TotalSupplier is an autogenerated mock type for the TotalSupplier type
func NewTotalSupplier ¶
func NewTotalSupplier(t mockConstructorTestingTNewTotalSupplier) *TotalSupplier
NewTotalSupplier creates a new instance of TotalSupplier. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*TotalSupplier) EXPECT ¶
func (_m *TotalSupplier) EXPECT() *TotalSupplier_Expecter
func (*TotalSupplier) Execute ¶
func (_m *TotalSupplier) Execute() (int, error)
Execute provides a mock function with given fields:
type TotalSupplier_Execute_Call ¶
TotalSupplier_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*TotalSupplier_Execute_Call) Return ¶
func (_c *TotalSupplier_Execute_Call) Return(_a0 int, _a1 error) *TotalSupplier_Execute_Call
func (*TotalSupplier_Execute_Call) Run ¶
func (_c *TotalSupplier_Execute_Call) Run(run func()) *TotalSupplier_Execute_Call
type TotalSupplier_Expecter ¶
type TotalSupplier_Expecter struct {
// contains filtered or unexported fields
}
func (*TotalSupplier_Expecter) Execute ¶
func (_e *TotalSupplier_Expecter) Execute() *TotalSupplier_Execute_Call
Execute is a helper method to define mock.On call