func (_m *Validator) Validate(_a0 *discovery.Model) (discovery.ValidationFailures, error) {
	ret := _m.Called(_a0)

	var r0 discovery.ValidationFailures
	if rf, ok := ret.Get(0).(func(*discovery.Model) discovery.ValidationFailures); ok {
		r0 = rf(_a0)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(discovery.ValidationFailures)
		}
	}

	var r1 error
	if rf, ok := ret.Get(1).(func(*discovery.Model) error); ok {
		r1 = rf(_a0)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}
// Validate provides a mock function with given fields: _a0
Validate provides a mock function with given fields: _a0
// Validate provides a mock function with given fields : _a0
func (_m *Validator) Validate(_a0 *discovery.Model) (discovery.ValidationFailures, error) {
	ret := _m.Called(_a0)
	var r0 discovery.ValidationFailures
	if rf, ok := ret.Get(0).(func(*discovery.Model) discovery.ValidationFailures); ok {
		r0 = rf(_a0)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(discovery.ValidationFailures)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*discovery.Model) error); ok {
		r1 = rf(_a0)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func ( _m * Validator ) Validate ( _a0 * discovery . Model ) ( discovery . ValidationFailures , error ) { ret := _m . Called ( _a0 ) var r0 discovery . ValidationFailures if rf , ok := ret . Get ( 0 ) . ( func ( * discovery . Model ) discovery . ValidationFailures ) ; ok { r0 = rf ( _a0 ) } else { if ret . Get ( 0 ) != nil { r0 = ret . Get ( 0 ) . ( discovery . ValidationFailures ) } } var r1 error if rf , ok := ret . Get ( 1 ) . ( func ( * discovery . Model ) error ) ; ok { r1 = rf ( _a0 ) } else { r1 = ret . Error ( 1 ) } return r0 , r1 }
Validate provides a mock function with given fields: _a0
Validate provides a mock function with given fields : _a0