Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cleaner ¶
Cleaner is an autogenerated mock type for the Cleaner type
func NewCleaner ¶
NewCleaner creates a new instance of Cleaner. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Cleaner) Cleanup ¶
func (_mock *Cleaner) Cleanup()
Cleanup provides a mock function for the type Cleaner
func (*Cleaner) EXPECT ¶
func (_m *Cleaner) EXPECT() *Cleaner_Expecter
type Cleaner_Cleanup_Call ¶
Cleaner_Cleanup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Cleanup'
func (*Cleaner_Cleanup_Call) Return ¶
func (_c *Cleaner_Cleanup_Call) Return() *Cleaner_Cleanup_Call
func (*Cleaner_Cleanup_Call) Run ¶
func (_c *Cleaner_Cleanup_Call) Run(run func()) *Cleaner_Cleanup_Call
func (*Cleaner_Cleanup_Call) RunAndReturn ¶
func (_c *Cleaner_Cleanup_Call) RunAndReturn(run func()) *Cleaner_Cleanup_Call
type Cleaner_Expecter ¶
type Cleaner_Expecter struct {
// contains filtered or unexported fields
}
func (*Cleaner_Expecter) Cleanup ¶
func (_e *Cleaner_Expecter) Cleanup() *Cleaner_Cleanup_Call
Cleanup is a helper method to define mock.On call
type Validate ¶
Validate is an autogenerated mock type for the Validate type
func NewValidate ¶
NewValidate creates a new instance of Validate. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Validate) EXPECT ¶
func (_m *Validate) EXPECT() *Validate_Expecter
func (*Validate) Validate ¶
func (_mock *Validate) Validate() models.ValidationErrors
Validate provides a mock function for the type Validate
type Validate_Expecter ¶
type Validate_Expecter struct {
// contains filtered or unexported fields
}
func (*Validate_Expecter) Validate ¶
func (_e *Validate_Expecter) Validate() *Validate_Validate_Call
Validate is a helper method to define mock.On call
type Validate_Validate_Call ¶
Validate_Validate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Validate'
func (*Validate_Validate_Call) Return ¶
func (_c *Validate_Validate_Call) Return(validationErrors models.ValidationErrors) *Validate_Validate_Call
func (*Validate_Validate_Call) Run ¶
func (_c *Validate_Validate_Call) Run(run func()) *Validate_Validate_Call
func (*Validate_Validate_Call) RunAndReturn ¶
func (_c *Validate_Validate_Call) RunAndReturn(run func() models.ValidationErrors) *Validate_Validate_Call