mocks

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sender

type Sender struct {
	mock.Mock
}

Sender is an autogenerated mock type for the Sender type

func NewSender

func NewSender(t mockConstructorTestingTNewSender) *Sender

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

func (*Sender) Bind

func (_m *Sender) Bind(senderAddress *model.FeatureAddressType, destinationAddress *model.FeatureAddressType, serverFeatureType model.FeatureTypeType) (*model.MsgCounterType, error)

Bind provides a mock function with given fields: senderAddress, destinationAddress, serverFeatureType

func (*Sender) Notify

func (_m *Sender) Notify(senderAddress *model.FeatureAddressType, destinationAddress *model.FeatureAddressType, cmd model.CmdType) (*model.MsgCounterType, error)

Notify provides a mock function with given fields: senderAddress, destinationAddress, cmd

func (*Sender) Reply

func (_m *Sender) Reply(requestHeader *model.HeaderType, senderAddress *model.FeatureAddressType, cmd model.CmdType) error

Reply provides a mock function with given fields: requestHeader, senderAddress, cmd

func (*Sender) Request

func (_m *Sender) Request(cmdClassifier model.CmdClassifierType, senderAddress *model.FeatureAddressType, destinationAddress *model.FeatureAddressType, ackRequest bool, cmd []model.CmdType) (*model.MsgCounterType, error)

Request provides a mock function with given fields: cmdClassifier, senderAddress, destinationAddress, ackRequest, cmd

func (*Sender) ResultError

func (_m *Sender) ResultError(requestHeader *model.HeaderType, senderAddress *model.FeatureAddressType, err *spine.ErrorType) error

ResultError provides a mock function with given fields: requestHeader, senderAddress, err

func (*Sender) ResultSuccess

func (_m *Sender) ResultSuccess(requestHeader *model.HeaderType, senderAddress *model.FeatureAddressType) error

ResultSuccess provides a mock function with given fields: requestHeader, senderAddress

func (*Sender) Subscribe

func (_m *Sender) Subscribe(senderAddress *model.FeatureAddressType, destinationAddress *model.FeatureAddressType, serverFeatureType model.FeatureTypeType) (*model.MsgCounterType, error)

Subscribe provides a mock function with given fields: senderAddress, destinationAddress, serverFeatureType

func (*Sender) Write

func (_m *Sender) Write(senderAddress *model.FeatureAddressType, destinationAddress *model.FeatureAddressType, cmd model.CmdType) (*model.MsgCounterType, error)

Write provides a mock function with given fields: senderAddress, destinationAddress, cmd

Jump to

Keyboard shortcuts

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