mocks

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: GPL-3.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 Template

type Template struct {
	mock.Mock
}

Template is an autogenerated mock type for the Template type

func NewTemplate

func NewTemplate(t testing.TB) *Template

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

func (*Template) GetTemplateName

func (_m *Template) GetTemplateName() string

GetTemplateName provides a mock function with given fields:

func (*Template) SetMessages

func (_m *Template) SetMessages(messages []entities.Message)

SetMessages provides a mock function with given fields: messages

Jump to

Keyboard shortcuts

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