mocks

package
v0.0.0-...-4602fbc Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageService

type MessageService struct {
	mock.Mock
}

MessageService is an autogenerated mock type for the MessageService type

func NewMessageService

func NewMessageService(t mockConstructorTestingTNewMessageService) *MessageService

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

func (*MessageService) Pull

func (_m *MessageService) Pull(req *models.Request) (*models.Response, error)

Pull provides a mock function with given fields: req

func (*MessageService) Send

func (_m *MessageService) Send(msg *models.Message) error

Send provides a mock function with given fields: msg

Jump to

Keyboard shortcuts

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