mocks

package
v0.0.0-...-d389d3b Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pageable

type Pageable struct {
	mock.Mock
}

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) Offset

func (_m *Pageable) Offset() int

Offset provides a mock function with given fields:

func (*Pageable) PageNumber

func (_m *Pageable) PageNumber() int

PageNumber provides a mock function with given fields:

func (*Pageable) PageSize

func (_m *Pageable) PageSize() int

PageSize provides a mock function with given fields:

type Pageable_Expecter

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

func (*Pageable_Expecter) Offset

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

type Pageable_Offset_Call struct {
	*mock.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 (*Pageable_Offset_Call) Run

func (_c *Pageable_Offset_Call) Run(run func()) *Pageable_Offset_Call

type Pageable_PageNumber_Call

type Pageable_PageNumber_Call struct {
	*mock.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 (*Pageable_PageNumber_Call) Run

type Pageable_PageSize_Call

type Pageable_PageSize_Call struct {
	*mock.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 (*Pageable_PageSize_Call) Run

func (_c *Pageable_PageSize_Call) Run(run func()) *Pageable_PageSize_Call

type TotalSupplier

type TotalSupplier struct {
	mock.Mock
}

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

type TotalSupplier_Execute_Call struct {
	*mock.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 (*TotalSupplier_Execute_Call) Run

type TotalSupplier_Expecter

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

func (*TotalSupplier_Expecter) Execute

Execute is a helper method to define mock.On call

Jump to

Keyboard shortcuts

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