mocks

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sequencer

type Sequencer struct {
	mock.Mock
}

Sequencer is an autogenerated mock type for the Sequencer type

func NewSequencer

func NewSequencer(t mockConstructorTestingTNewSequencer) *Sequencer

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

func (*Sequencer) EXPECT

func (_m *Sequencer) EXPECT() *Sequencer_Expecter

func (*Sequencer) Sequence

func (_m *Sequencer) Sequence(ctx context.Context, src *url.URL, dst *url.URL, num uint64, opts private.SequenceOptions) (*api.MessageRecord[messaging.Message], error)

Sequence provides a mock function with given fields: ctx, src, dst, num, opts

type Sequencer_Expecter

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

func (*Sequencer_Expecter) Sequence

func (_e *Sequencer_Expecter) Sequence(ctx interface{}, src interface{}, dst interface{}, num interface{}, opts interface{}) *Sequencer_Sequence_Call

Sequence is a helper method to define mock.On call

  • ctx context.Context
  • src *url.URL
  • dst *url.URL
  • num uint64
  • opts private.SequenceOptions

type Sequencer_Sequence_Call

type Sequencer_Sequence_Call struct {
	*mock.Call
}

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

func (*Sequencer_Sequence_Call) Return

func (*Sequencer_Sequence_Call) Run

func (*Sequencer_Sequence_Call) RunAndReturn added in v1.2.5

Jump to

Keyboard shortcuts

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