notificationsmock

package
v2.33.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

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

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEnqueuer) Enqueue

func (m *MockEnqueuer) Enqueue(ctx context.Context, userID, templateID uuid.UUID, labels map[string]string, createdBy string, targets ...uuid.UUID) ([]uuid.UUID, error)

Enqueue mocks base method.

func (*MockEnqueuer) EnqueueWithData

func (m *MockEnqueuer) EnqueueWithData(ctx context.Context, userID, templateID uuid.UUID, labels map[string]string, data map[string]any, createdBy string, targets ...uuid.UUID) ([]uuid.UUID, error)

EnqueueWithData mocks base method.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL