Documentation ¶
Index ¶
- type NotificationService
- type NotificationService_Expecter
- type NotificationService_RemoveIdempotencies_Call
- func (_c *NotificationService_RemoveIdempotencies_Call) Return(_a0 error) *NotificationService_RemoveIdempotencies_Call
- func (_c *NotificationService_RemoveIdempotencies_Call) Run(run func(ctx context.Context, TTL time.Duration)) *NotificationService_RemoveIdempotencies_Call
- func (_c *NotificationService_RemoveIdempotencies_Call) RunAndReturn(run func(context.Context, time.Duration) error) *NotificationService_RemoveIdempotencies_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotificationService ¶
NotificationService is an autogenerated mock type for the NotificationService type
func NewNotificationService ¶
func NewNotificationService(t interface { mock.TestingT Cleanup(func()) }) *NotificationService
NewNotificationService creates a new instance of NotificationService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*NotificationService) EXPECT ¶
func (_m *NotificationService) EXPECT() *NotificationService_Expecter
func (*NotificationService) RemoveIdempotencies ¶
RemoveIdempotencies provides a mock function with given fields: ctx, TTL
type NotificationService_Expecter ¶
type NotificationService_Expecter struct {
// contains filtered or unexported fields
}
func (*NotificationService_Expecter) RemoveIdempotencies ¶
func (_e *NotificationService_Expecter) RemoveIdempotencies(ctx interface{}, TTL interface{}) *NotificationService_RemoveIdempotencies_Call
RemoveIdempotencies is a helper method to define mock.On call
- ctx context.Context
- TTL time.Duration
type NotificationService_RemoveIdempotencies_Call ¶
NotificationService_RemoveIdempotencies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveIdempotencies'
func (*NotificationService_RemoveIdempotencies_Call) Return ¶
func (_c *NotificationService_RemoveIdempotencies_Call) Return(_a0 error) *NotificationService_RemoveIdempotencies_Call
func (*NotificationService_RemoveIdempotencies_Call) Run ¶
func (_c *NotificationService_RemoveIdempotencies_Call) Run(run func(ctx context.Context, TTL time.Duration)) *NotificationService_RemoveIdempotencies_Call
func (*NotificationService_RemoveIdempotencies_Call) RunAndReturn ¶ added in v0.6.1
func (_c *NotificationService_RemoveIdempotencies_Call) RunAndReturn(run func(context.Context, time.Duration) error) *NotificationService_RemoveIdempotencies_Call
Click to show internal directories.
Click to hide internal directories.