func (_m *MockJourney) SetDiscoveryModel(discoveryModel *discovery.Model) (discovery.ValidationFailures, error) {
	ret := _m.Called(discoveryModel)

	var r0 discovery.ValidationFailures
	if rf, ok := ret.Get(0).(func(*discovery.Model) discovery.ValidationFailures); ok {
		r0 = rf(discoveryModel)
	} 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(discoveryModel)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}
// SetDiscoveryModel provides a mock function with given fields: discoveryModel
SetDiscoveryModel provides a mock function with given fields: discoveryModel
// SetDiscoveryModel provides a mock function with given fields : discoveryModel
func (_m *MockJourney) SetDiscoveryModel(discoveryModel *discovery.Model) (discovery.ValidationFailures, error) {
	ret := _m.Called(discoveryModel)
	var r0 discovery.ValidationFailures
	if rf, ok := ret.Get(0).(func(*discovery.Model) discovery.ValidationFailures); ok {
		r0 = rf(discoveryModel)
	} 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(discoveryModel)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func ( _m * MockJourney ) SetDiscoveryModel ( discoveryModel * discovery . Model ) ( discovery . ValidationFailures , error ) { ret := _m . Called ( discoveryModel ) var r0 discovery . ValidationFailures if rf , ok := ret . Get ( 0 ) . ( func ( * discovery . Model ) discovery . ValidationFailures ) ; ok { r0 = rf ( discoveryModel ) } 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 ( discoveryModel ) } else { r1 = ret . Error ( 1 ) } return r0 , r1 }
SetDiscoveryModel provides a mock function with given fields: discoveryModel
SetDiscoveryModel provides a mock function with given fields : discoveryModel