mocks

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageProcessor

type MessageProcessor struct {
	mock.Mock
}

MessageProcessor is an autogenerated mock type for the MessageProcessor type

func NewMessageProcessor

func NewMessageProcessor(t mockConstructorTestingTNewMessageProcessor) *MessageProcessor

NewMessageProcessor creates a new instance of MessageProcessor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MessageProcessor) EXPECT

func (*MessageProcessor) ProcessMessage

ProcessMessage provides a mock function with given fields: ctx, message

type MessageProcessor_Expecter

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

func (*MessageProcessor_Expecter) ProcessMessage

func (_e *MessageProcessor_Expecter) ProcessMessage(ctx interface{}, message interface{}) *MessageProcessor_ProcessMessage_Call

ProcessMessage is a helper method to define mock.On call

  • ctx context.Context
  • message *funcie.MessageBase[json.RawMessage]

type MessageProcessor_ProcessMessage_Call

type MessageProcessor_ProcessMessage_Call struct {
	*mock.Call
}

MessageProcessor_ProcessMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProcessMessage'

func (*MessageProcessor_ProcessMessage_Call) Return

func (*MessageProcessor_ProcessMessage_Call) Run

Jump to

Keyboard shortcuts

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