mock_service

package
v0.0.0-...-8a0dab4 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_service is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterface

type MockInterface struct {
	// contains filtered or unexported fields
}

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) EXPECT

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

func (*MockInterface) MarkMessageAsProcessed

func (m *MockInterface) MarkMessageAsProcessed(ctx context.Context, id uuid.UUID) error

MarkMessageAsProcessed mocks base method.

func (*MockInterface) MessageChan

func (m *MockInterface) MessageChan() chan dto.MessageID

MessageChan mocks base method.

func (*MockInterface) ProcessMessage

func (m *MockInterface) ProcessMessage(ctx context.Context, msg message.Message) (uuid.UUID, error)

ProcessMessage mocks base method.

func (*MockInterface) ProcessedCountStatistic

func (m *MockInterface) ProcessedCountStatistic(ctx context.Context) (dto.Processed, error)

ProcessedCountStatistic mocks base method.

func (*MockInterface) SaveUnsentMessage

func (m *MockInterface) SaveUnsentMessage(arg0 dto.MessageID) error

SaveUnsentMessage mocks base method.

func (*MockInterface) Statistic

func (m *MockInterface) Statistic() dto.Statistic

Statistic mocks base method.

type MockInterfaceMockRecorder

type MockInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) MarkMessageAsProcessed

func (mr *MockInterfaceMockRecorder) MarkMessageAsProcessed(ctx, id interface{}) *gomock.Call

MarkMessageAsProcessed indicates an expected call of MarkMessageAsProcessed.

func (*MockInterfaceMockRecorder) MessageChan

func (mr *MockInterfaceMockRecorder) MessageChan() *gomock.Call

MessageChan indicates an expected call of MessageChan.

func (*MockInterfaceMockRecorder) ProcessMessage

func (mr *MockInterfaceMockRecorder) ProcessMessage(ctx, msg interface{}) *gomock.Call

ProcessMessage indicates an expected call of ProcessMessage.

func (*MockInterfaceMockRecorder) ProcessedCountStatistic

func (mr *MockInterfaceMockRecorder) ProcessedCountStatistic(ctx interface{}) *gomock.Call

ProcessedCountStatistic indicates an expected call of ProcessedCountStatistic.

func (*MockInterfaceMockRecorder) SaveUnsentMessage

func (mr *MockInterfaceMockRecorder) SaveUnsentMessage(arg0 interface{}) *gomock.Call

SaveUnsentMessage indicates an expected call of SaveUnsentMessage.

func (*MockInterfaceMockRecorder) Statistic

func (mr *MockInterfaceMockRecorder) Statistic() *gomock.Call

Statistic indicates an expected call of Statistic.

Jump to

Keyboard shortcuts

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