Documentation
¶
Overview ¶
Package notificationsmock contains a mocked implementation of the notifications.Enqueuer interface for use in tests.
Package notificationsmock is a generated GoMock package.
Index ¶
- type MockEnqueuer
- func (m *MockEnqueuer) EXPECT() *MockEnqueuerMockRecorder
- func (m *MockEnqueuer) Enqueue(ctx context.Context, userID, templateID uuid.UUID, labels map[string]string, ...) ([]uuid.UUID, error)
- func (m *MockEnqueuer) EnqueueWithData(ctx context.Context, userID, templateID uuid.UUID, labels map[string]string, ...) ([]uuid.UUID, error)
- type MockEnqueuerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEnqueuer ¶
type MockEnqueuer struct {
// contains filtered or unexported fields
}
MockEnqueuer is a mock of Enqueuer interface.
func NewMockEnqueuer ¶
func NewMockEnqueuer(ctrl *gomock.Controller) *MockEnqueuer
NewMockEnqueuer creates a new mock instance.
func (*MockEnqueuer) EXPECT ¶
func (m *MockEnqueuer) EXPECT() *MockEnqueuerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockEnqueuerMockRecorder ¶
type MockEnqueuerMockRecorder struct {
// contains filtered or unexported fields
}
MockEnqueuerMockRecorder is the mock recorder for MockEnqueuer.
func (*MockEnqueuerMockRecorder) Enqueue ¶
func (mr *MockEnqueuerMockRecorder) Enqueue(ctx, userID, templateID, labels, createdBy any, targets ...any) *gomock.Call
Enqueue indicates an expected call of Enqueue.
func (*MockEnqueuerMockRecorder) EnqueueWithData ¶
func (mr *MockEnqueuerMockRecorder) EnqueueWithData(ctx, userID, templateID, labels, data, createdBy any, targets ...any) *gomock.Call
EnqueueWithData indicates an expected call of EnqueueWithData.
Click to show internal directories.
Click to hide internal directories.