mocks

package
v0.0.0-...-9eaf9d2 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnglishPhraseProblemModel

type EnglishPhraseProblemModel struct {
	mock.Mock
}

EnglishPhraseProblemModel is an autogenerated mock type for the EnglishPhraseProblemModel type

func NewEnglishPhraseProblemModel

func NewEnglishPhraseProblemModel(t testing.TB) *EnglishPhraseProblemModel

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

func (*EnglishPhraseProblemModel) GetAudioID

func (_m *EnglishPhraseProblemModel) GetAudioID() domain.AudioID

GetAudioID provides a mock function with given fields:

func (*EnglishPhraseProblemModel) GetCreatedAt

func (_m *EnglishPhraseProblemModel) GetCreatedAt() time.Time

GetCreatedAt provides a mock function with given fields:

func (*EnglishPhraseProblemModel) GetCreatedBy

func (_m *EnglishPhraseProblemModel) GetCreatedBy() uint

GetCreatedBy provides a mock function with given fields:

func (*EnglishPhraseProblemModel) GetID

func (_m *EnglishPhraseProblemModel) GetID() uint

GetID provides a mock function with given fields:

func (*EnglishPhraseProblemModel) GetLang2

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

GetLang2 provides a mock function with given fields:

func (*EnglishPhraseProblemModel) GetNumber

func (_m *EnglishPhraseProblemModel) GetNumber() int

GetNumber provides a mock function with given fields:

func (*EnglishPhraseProblemModel) GetProblemType

func (_m *EnglishPhraseProblemModel) GetProblemType() string

GetProblemType provides a mock function with given fields:

func (*EnglishPhraseProblemModel) GetProperties

func (_m *EnglishPhraseProblemModel) GetProperties(ctx context.Context) map[string]interface{}

GetProperties provides a mock function with given fields: ctx

func (*EnglishPhraseProblemModel) GetText

func (_m *EnglishPhraseProblemModel) GetText() string

GetText provides a mock function with given fields:

func (*EnglishPhraseProblemModel) GetTranslated

func (_m *EnglishPhraseProblemModel) GetTranslated() string

GetTranslated provides a mock function with given fields:

func (*EnglishPhraseProblemModel) GetUpdatedAt

func (_m *EnglishPhraseProblemModel) GetUpdatedAt() time.Time

GetUpdatedAt provides a mock function with given fields:

func (*EnglishPhraseProblemModel) GetUpdatedBy

func (_m *EnglishPhraseProblemModel) GetUpdatedBy() uint

GetUpdatedBy provides a mock function with given fields:

func (*EnglishPhraseProblemModel) GetVersion

func (_m *EnglishPhraseProblemModel) GetVersion() int

GetVersion provides a mock function with given fields:

type EnglishSentenceProblemModel

type EnglishSentenceProblemModel struct {
	mock.Mock
}

EnglishSentenceProblemModel is an autogenerated mock type for the EnglishSentenceProblemModel type

func NewEnglishSentenceProblemModel

func NewEnglishSentenceProblemModel(t testing.TB) *EnglishSentenceProblemModel

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

func (*EnglishSentenceProblemModel) GetAudioID

func (_m *EnglishSentenceProblemModel) GetAudioID() domain.AudioID

GetAudioID provides a mock function with given fields:

func (*EnglishSentenceProblemModel) GetCreatedAt

func (_m *EnglishSentenceProblemModel) GetCreatedAt() time.Time

GetCreatedAt provides a mock function with given fields:

func (*EnglishSentenceProblemModel) GetCreatedBy

func (_m *EnglishSentenceProblemModel) GetCreatedBy() uint

GetCreatedBy provides a mock function with given fields:

func (*EnglishSentenceProblemModel) GetID

func (_m *EnglishSentenceProblemModel) GetID() uint

GetID provides a mock function with given fields:

func (*EnglishSentenceProblemModel) GetNote

func (_m *EnglishSentenceProblemModel) GetNote() string

GetNote provides a mock function with given fields:

func (*EnglishSentenceProblemModel) GetNumber

func (_m *EnglishSentenceProblemModel) GetNumber() int

GetNumber provides a mock function with given fields:

func (*EnglishSentenceProblemModel) GetProblemType

func (_m *EnglishSentenceProblemModel) GetProblemType() string

GetProblemType provides a mock function with given fields:

func (*EnglishSentenceProblemModel) GetProperties

func (_m *EnglishSentenceProblemModel) GetProperties(ctx context.Context) map[string]interface{}

GetProperties provides a mock function with given fields: ctx

func (*EnglishSentenceProblemModel) GetProvider

func (_m *EnglishSentenceProblemModel) GetProvider() string

GetProvider provides a mock function with given fields:

func (*EnglishSentenceProblemModel) GetText

func (_m *EnglishSentenceProblemModel) GetText() string

GetText provides a mock function with given fields:

func (*EnglishSentenceProblemModel) GetUpdatedAt

func (_m *EnglishSentenceProblemModel) GetUpdatedAt() time.Time

GetUpdatedAt provides a mock function with given fields:

func (*EnglishSentenceProblemModel) GetUpdatedBy

func (_m *EnglishSentenceProblemModel) GetUpdatedBy() uint

GetUpdatedBy provides a mock function with given fields:

func (*EnglishSentenceProblemModel) GetVersion

func (_m *EnglishSentenceProblemModel) GetVersion() int

GetVersion provides a mock function with given fields:

type EnglishWordSentenceProblemModel

type EnglishWordSentenceProblemModel struct {
	mock.Mock
}

EnglishWordSentenceProblemModel is an autogenerated mock type for the EnglishWordSentenceProblemModel type

func NewEnglishWordSentenceProblemModel

func NewEnglishWordSentenceProblemModel(t testing.TB) *EnglishWordSentenceProblemModel

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

func (*EnglishWordSentenceProblemModel) GetAudioID

GetAudioID provides a mock function with given fields:

func (*EnglishWordSentenceProblemModel) GetLang2

GetLang2 provides a mock function with given fields:

func (*EnglishWordSentenceProblemModel) GetNote

GetNote provides a mock function with given fields:

func (*EnglishWordSentenceProblemModel) GetProvider

func (_m *EnglishWordSentenceProblemModel) GetProvider() string

GetProvider provides a mock function with given fields:

func (*EnglishWordSentenceProblemModel) GetText

GetText provides a mock function with given fields:

func (*EnglishWordSentenceProblemModel) GetTranslated

func (_m *EnglishWordSentenceProblemModel) 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