Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mockvalidator ¶
Mockvalidator is an autogenerated mock type for the validator type
func NewMockvalidator ¶
func NewMockvalidator(t interface {
mock.TestingT
Cleanup(func())
}) *Mockvalidator
NewMockvalidator creates a new instance of Mockvalidator. 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 (*Mockvalidator) EXPECT ¶
func (_m *Mockvalidator) EXPECT() *Mockvalidator_Expecter
func (*Mockvalidator) Run ¶
func (_mock *Mockvalidator) Run(fileName string) error
Run provides a mock function for the type Mockvalidator
type Mockvalidator_Expecter ¶
type Mockvalidator_Expecter struct {
// contains filtered or unexported fields
}
func (*Mockvalidator_Expecter) Run ¶
func (_e *Mockvalidator_Expecter) Run(fileName interface{}) *Mockvalidator_Run_Call
Run is a helper method to define mock.On call
- fileName
type Mockvalidator_Run_Call ¶
Mockvalidator_Run_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Run'
func (*Mockvalidator_Run_Call) Return ¶
func (_c *Mockvalidator_Run_Call) Return(err error) *Mockvalidator_Run_Call
func (*Mockvalidator_Run_Call) Run ¶
func (_c *Mockvalidator_Run_Call) Run(run func(fileName string)) *Mockvalidator_Run_Call
func (*Mockvalidator_Run_Call) RunAndReturn ¶
func (_c *Mockvalidator_Run_Call) RunAndReturn(run func(fileName string) error) *Mockvalidator_Run_Call
Click to show internal directories.
Click to hide internal directories.