mocks

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 4 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 testing.TB) *EchoMessage

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

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