// List provides a mock function with given fields: _a0
List provides a mock function with given fields: _a0
// List provides a mock function with given fields : _a0
func (_m *MfaServiceInterface) List(_a0 bson.ObjectId) ([]*models.MfaProvider, error) {
	ret := _m.Called(_a0)
	var r0 []*models.MfaProvider
	if rf, ok := ret.Get(0).(func(bson.ObjectId) []*models.MfaProvider); ok {
		r0 = rf(_a0)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]*models.MfaProvider)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(bson.ObjectId) error); ok {
		r1 = rf(_a0)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func ( _m * MfaServiceInterface ) List ( _a0 bson . ObjectId ) ( [ ] * models . MfaProvider , error ) { ret := _m . Called ( _a0 ) var r0 [ ] * models . MfaProvider if rf , ok := ret . Get ( 0 ) . ( func ( bson . ObjectId ) [ ] * models . MfaProvider ) ; ok { r0 = rf ( _a0 ) } else { if ret . Get ( 0 ) != nil { r0 = ret . Get ( 0 ) . ( [ ] * models . MfaProvider ) } } var r1 error if rf , ok := ret . Get ( 1 ) . ( func ( bson . ObjectId ) error ) ; ok { r1 = rf ( _a0 ) } else { r1 = ret . Error ( 1 ) } return r0 , r1 }
List provides a mock function with given fields: _a0
List provides a mock function with given fields : _a0