mocks

package
v0.0.0-...-2f4d8a3 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Translation

type Translation struct {
	mock.Mock
}

Translation is an autogenerated mock type for the Translation type

func NewTranslation

func NewTranslation(t testing.TB) *Translation

NewTranslation creates a new instance of Translation. It also registers a cleanup function to assert the mocks expectations.

func (*Translation) GetLang2

func (_m *Translation) GetLang2() domain.Lang2

GetLang2 provides a mock function with given fields:

func (*Translation) GetPos

func (_m *Translation) GetPos() commondomain.WordPos

GetPos provides a mock function with given fields:

func (*Translation) GetProvider

func (_m *Translation) GetProvider() string

GetProvider provides a mock function with given fields:

func (*Translation) GetText

func (_m *Translation) GetText() string

GetText provides a mock function with given fields:

func (*Translation) GetTranslated

func (_m *Translation) GetTranslated() string

GetTranslated 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