Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TroubleMaker ¶
TroubleMaker is an autogenerated mock type for the TroubleMaker type
func NewTroubleMaker ¶
func NewTroubleMaker(t mockConstructorTestingTNewTroubleMaker) *TroubleMaker
NewTroubleMaker creates a new instance of TroubleMaker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*TroubleMaker) NewTrouble ¶
func (_m *TroubleMaker) NewTrouble(reason string) error
NewTrouble provides a mock function with given fields: reason
type TroubleMakerSetter ¶
TroubleMakerSetter is an autogenerated mock type for the TroubleMakerSetter type
func NewTroubleMakerSetter ¶
func NewTroubleMakerSetter(t mockConstructorTestingTNewTroubleMakerSetter) *TroubleMakerSetter
NewTroubleMakerSetter creates a new instance of TroubleMakerSetter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*TroubleMakerSetter) Execute ¶
func (_m *TroubleMakerSetter) Execute(_a0 *troublemaker.TroubleMakerImpl)
Execute provides a mock function with given fields: _a0
type ValidationError ¶
ValidationError is an autogenerated mock type for the ValidationError type
func NewValidationError ¶
func NewValidationError(t mockConstructorTestingTNewValidationError) *ValidationError
NewValidationError creates a new instance of ValidationError. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ValidationError) Cause ¶
func (_m *ValidationError) Cause() error
Cause provides a mock function with given fields:
func (*ValidationError) ErrorName ¶
func (_m *ValidationError) ErrorName() string
ErrorName provides a mock function with given fields:
func (*ValidationError) Field ¶
func (_m *ValidationError) Field() string
Field provides a mock function with given fields:
func (*ValidationError) Key ¶
func (_m *ValidationError) Key() bool
Key provides a mock function with given fields:
func (*ValidationError) Reason ¶
func (_m *ValidationError) Reason() string
Reason provides a mock function with given fields:
type ValidationMultiError ¶
ValidationMultiError is an autogenerated mock type for the ValidationMultiError type
func NewValidationMultiError ¶
func NewValidationMultiError(t mockConstructorTestingTNewValidationMultiError) *ValidationMultiError
NewValidationMultiError creates a new instance of ValidationMultiError. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ValidationMultiError) AllErrors ¶
func (_m *ValidationMultiError) AllErrors() []error
AllErrors provides a mock function with given fields:
func (*ValidationMultiError) Error ¶
func (_m *ValidationMultiError) Error() string
Error provides a mock function with given fields: