Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntityConstraint ¶
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 (_m *EntityConstraint) EXPECT() *EntityConstraint_Expecter
func (*EntityConstraint) Id ¶
func (_m *EntityConstraint) Id() common.PrimaryID
Id provides a mock function with given fields:
type EntityConstraint_Expecter ¶
type EntityConstraint_Expecter struct {
// contains filtered or unexported fields
}
func (*EntityConstraint_Expecter) Id ¶
func (_e *EntityConstraint_Expecter) Id() *EntityConstraint_Id_Call
Id is a helper method to define mock.On call
type EntityConstraint_Id_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 (_c *EntityConstraint_Id_Call) Return(_a0 common.PrimaryID) *EntityConstraint_Id_Call
func (*EntityConstraint_Id_Call) Run ¶
func (_c *EntityConstraint_Id_Call) Run(run func()) *EntityConstraint_Id_Call
type Service ¶
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
}