mocks

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EchoMessage

type EchoMessage struct {
	mock.Mock
}

EchoMessage is an autogenerated mock type for the EchoMessage type

func NewEchoMessage

func NewEchoMessage(t interface {
	mock.TestingT
	Cleanup(func())
}) *EchoMessage

NewEchoMessage creates a new instance of EchoMessage. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*EchoMessage) GetEchoMessage

func (_m *EchoMessage) GetEchoMessage() types.Message

GetEchoMessage provides a mock function with given fields:

func (*EchoMessage) GetId

func (_m *EchoMessage) GetId() string

GetId provides a mock function with given fields:

func (*EchoMessage) GetMessageType

func (_m *EchoMessage) GetMessageType() types.MessageType

GetMessageType provides a mock function with given fields:

func (*EchoMessage) IsValid

func (_m *EchoMessage) IsValid() bool

IsValid provides a mock function with given fields:

func (*EchoMessage) ProtoReflect

func (_m *EchoMessage) ProtoReflect() protoreflect.Message

ProtoReflect provides a mock function with given fields:

Jump to

Keyboard shortcuts

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