Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IConsumer ¶
IConsumer is an autogenerated mock type for the IConsumer type
func NewIConsumer ¶
func NewIConsumer[T interface{}](t mockConstructorTestingTNewIConsumer) *IConsumer[T]
NewIConsumer creates a new instance of IConsumer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*IConsumer[T]) ConsumeMessage ¶
ConsumeMessage provides a mock function with given fields: msg, dependencies
func (*IConsumer[T]) IsConsumed ¶
IsConsumed provides a mock function with given fields: msg
type IPublisher ¶
IPublisher is an autogenerated mock type for the IPublisher type
func NewIPublisher ¶
func NewIPublisher(t mockConstructorTestingTNewIPublisher) *IPublisher
NewIPublisher creates a new instance of IPublisher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*IPublisher) IsPublished ¶
func (_m *IPublisher) IsPublished(msg interface{}) bool
IsPublished provides a mock function with given fields: msg
func (*IPublisher) PublishMessage ¶
func (_m *IPublisher) PublishMessage(msg interface{}) error
PublishMessage provides a mock function with given fields: msg