Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntityConverter ¶
EntityConverter is an autogenerated mock type for the EntityConverter type
func NewEntityConverter ¶
func NewEntityConverter[T interface{}](t mockConstructorTestingTNewEntityConverter) *EntityConverter[T]
NewEntityConverter creates a new instance of EntityConverter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*EntityConverter[T]) EXPECT ¶
func (_m *EntityConverter[T]) EXPECT() *EntityConverter_Expecter[T]
func (*EntityConverter[T]) Execute ¶
func (_m *EntityConverter[T]) Execute(entity T) interface{}
Execute provides a mock function with given fields: entity
type EntityConverter_Execute_Call ¶
EntityConverter_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*EntityConverter_Execute_Call[T]) Return ¶
func (_c *EntityConverter_Execute_Call[T]) Return(_a0 interface{}) *EntityConverter_Execute_Call[T]
func (*EntityConverter_Execute_Call[T]) Run ¶
func (_c *EntityConverter_Execute_Call[T]) Run(run func(entity T)) *EntityConverter_Execute_Call[T]
type EntityConverter_Expecter ¶
type EntityConverter_Expecter[T interface{}] struct {
// contains filtered or unexported fields
}
func (*EntityConverter_Expecter[T]) Execute ¶
func (_e *EntityConverter_Expecter[T]) Execute(entity interface{}) *EntityConverter_Execute_Call[T]
Execute is a helper method to define mock.On call
- entity T
type Event ¶
Event is an autogenerated mock type for the Event type
func NewEvent ¶
func NewEvent(t mockConstructorTestingTNewEvent) *Event
NewEvent creates a new instance of Event. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Event) EXPECT ¶
func (_m *Event) EXPECT() *Event_Expecter
type Event_Expecter ¶
type Event_Expecter struct {
// contains filtered or unexported fields
}
func (*Event_Expecter) Name ¶
func (_e *Event_Expecter) Name() *Event_Name_Call
Name is a helper method to define mock.On call
type Event_Name_Call ¶
Event_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'
func (*Event_Name_Call) Return ¶
func (_c *Event_Name_Call) Return(_a0 event.Name) *Event_Name_Call
func (*Event_Name_Call) Run ¶
func (_c *Event_Name_Call) Run(run func()) *Event_Name_Call
type Listener ¶
Listener is an autogenerated mock type for the Listener type
func NewListener ¶
func NewListener(t mockConstructorTestingTNewListener) *Listener
NewListener creates a new instance of Listener. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Listener) EXPECT ¶
func (_m *Listener) EXPECT() *Listener_Expecter
type Listener_Expecter ¶
type Listener_Expecter struct {
// contains filtered or unexported fields
}
func (*Listener_Expecter) Listen ¶
func (_e *Listener_Expecter) Listen(ctx interface{}, _a1 interface{}) *Listener_Listen_Call
Listen is a helper method to define mock.On call
- ctx context.Context
- _a1 event.Event
type Listener_Listen_Call ¶
Listener_Listen_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Listen'
func (*Listener_Listen_Call) Return ¶
func (_c *Listener_Listen_Call) Return() *Listener_Listen_Call
func (*Listener_Listen_Call) Run ¶
func (_c *Listener_Listen_Call) Run(run func(ctx context.Context, _a1 event.Event)) *Listener_Listen_Call