mocks

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Question

type Question struct {
	mock.Mock
}

Question is an autogenerated mock type for the Question type

func (*Question) Answer

func (_m *Question) Answer() questions.Answer

Answer provides a mock function with given fields:

func (*Question) Ask

func (_m *Question) Ask() error

Ask provides a mock function with given fields:

type Questioner

type Questioner struct {
	mock.Mock
}

Questioner is an autogenerated mock type for the Questioner type

func (*Questioner) NewClosedQuestion

func (_m *Questioner) NewClosedQuestion(question *questions.ClosedQuestion) questions.Question

NewClosedQuestion provides a mock function with given fields: question

func (*Questioner) NewOpenEndedQuestion

func (_m *Questioner) NewOpenEndedQuestion(question *questions.OpenEndedQuestion) questions.Question

NewOpenEndedQuestion provides a mock function with given fields: question

Jump to

Keyboard shortcuts

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