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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntityConstraint

type EntityConstraint struct {
	mock.Mock
}

EntityConstraint is an autogenerated mock type for the EntityConstraint type

func NewEntityConstraint

func NewEntityConstraint(t mockConstructorTestingTNewEntityConstraint) *EntityConstraint

NewEntityConstraint creates a new instance of EntityConstraint. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*EntityConstraint) EXPECT

func (*EntityConstraint) Id

Id provides a mock function with given fields:

type EntityConstraint_Expecter

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

func (*EntityConstraint_Expecter) Id

Id is a helper method to define mock.On call

type EntityConstraint_Id_Call

type EntityConstraint_Id_Call struct {
	*mock.Call
}

EntityConstraint_Id_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Id'

func (*EntityConstraint_Id_Call) Return

func (*EntityConstraint_Id_Call) Run

type Service

type Service struct {
	mock.Mock
}

Service is an autogenerated mock type for the Service type

func NewService

func NewService(t mockConstructorTestingTNewService) *Service

NewService creates a new instance of Service. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Service) EXPECT

func (_m *Service) EXPECT() *Service_Expecter

type Service_Expecter

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

Jump to

Keyboard shortcuts

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