Main coves client
1// Mocks generated by Mockito 5.4.6 from annotations
2// in coves_flutter/test/services/coves_auth_service_singleton_test.dart.
3// Do not manually edit this file.
4
5// ignore_for_file: no_leading_underscores_for_library_prefixes
6import 'dart:async' as _i9;
7
8import 'package:dio/src/adapter.dart' as _i4;
9import 'package:dio/src/cancel_token.dart' as _i10;
10import 'package:dio/src/dio.dart' as _i7;
11import 'package:dio/src/dio_mixin.dart' as _i3;
12import 'package:dio/src/options.dart' as _i2;
13import 'package:dio/src/response.dart' as _i6;
14import 'package:dio/src/transformer.dart' as _i5;
15import 'package:flutter/foundation.dart' as _i11;
16import 'package:flutter_secure_storage/flutter_secure_storage.dart' as _i8;
17import 'package:mockito/mockito.dart' as _i1;
18
19// ignore_for_file: type=lint
20// ignore_for_file: avoid_redundant_argument_values
21// ignore_for_file: avoid_setters_without_getters
22// ignore_for_file: comment_references
23// ignore_for_file: deprecated_member_use
24// ignore_for_file: deprecated_member_use_from_same_package
25// ignore_for_file: implementation_imports
26// ignore_for_file: invalid_use_of_visible_for_testing_member
27// ignore_for_file: must_be_immutable
28// ignore_for_file: prefer_const_constructors
29// ignore_for_file: unnecessary_parenthesis
30// ignore_for_file: camel_case_types
31// ignore_for_file: subtype_of_sealed_class
32// ignore_for_file: invalid_use_of_internal_member
33
34class _FakeBaseOptions_0 extends _i1.SmartFake implements _i2.BaseOptions {
35 _FakeBaseOptions_0(Object parent, Invocation parentInvocation)
36 : super(parent, parentInvocation);
37}
38
39class _FakeInterceptors_1 extends _i1.SmartFake implements _i3.Interceptors {
40 _FakeInterceptors_1(Object parent, Invocation parentInvocation)
41 : super(parent, parentInvocation);
42}
43
44class _FakeHttpClientAdapter_2 extends _i1.SmartFake
45 implements _i4.HttpClientAdapter {
46 _FakeHttpClientAdapter_2(Object parent, Invocation parentInvocation)
47 : super(parent, parentInvocation);
48}
49
50class _FakeTransformer_3 extends _i1.SmartFake implements _i5.Transformer {
51 _FakeTransformer_3(Object parent, Invocation parentInvocation)
52 : super(parent, parentInvocation);
53}
54
55class _FakeResponse_4<T1> extends _i1.SmartFake implements _i6.Response<T1> {
56 _FakeResponse_4(Object parent, Invocation parentInvocation)
57 : super(parent, parentInvocation);
58}
59
60class _FakeDio_5 extends _i1.SmartFake implements _i7.Dio {
61 _FakeDio_5(Object parent, Invocation parentInvocation)
62 : super(parent, parentInvocation);
63}
64
65class _FakeIOSOptions_6 extends _i1.SmartFake implements _i8.IOSOptions {
66 _FakeIOSOptions_6(Object parent, Invocation parentInvocation)
67 : super(parent, parentInvocation);
68}
69
70class _FakeAndroidOptions_7 extends _i1.SmartFake
71 implements _i8.AndroidOptions {
72 _FakeAndroidOptions_7(Object parent, Invocation parentInvocation)
73 : super(parent, parentInvocation);
74}
75
76class _FakeLinuxOptions_8 extends _i1.SmartFake implements _i8.LinuxOptions {
77 _FakeLinuxOptions_8(Object parent, Invocation parentInvocation)
78 : super(parent, parentInvocation);
79}
80
81class _FakeWindowsOptions_9 extends _i1.SmartFake
82 implements _i8.WindowsOptions {
83 _FakeWindowsOptions_9(Object parent, Invocation parentInvocation)
84 : super(parent, parentInvocation);
85}
86
87class _FakeWebOptions_10 extends _i1.SmartFake implements _i8.WebOptions {
88 _FakeWebOptions_10(Object parent, Invocation parentInvocation)
89 : super(parent, parentInvocation);
90}
91
92class _FakeMacOsOptions_11 extends _i1.SmartFake implements _i8.MacOsOptions {
93 _FakeMacOsOptions_11(Object parent, Invocation parentInvocation)
94 : super(parent, parentInvocation);
95}
96
97/// A class which mocks [Dio].
98///
99/// See the documentation for Mockito's code generation for more information.
100class MockDio extends _i1.Mock implements _i7.Dio {
101 MockDio() {
102 _i1.throwOnMissingStub(this);
103 }
104
105 @override
106 _i2.BaseOptions get options =>
107 (super.noSuchMethod(
108 Invocation.getter(#options),
109 returnValue: _FakeBaseOptions_0(this, Invocation.getter(#options)),
110 )
111 as _i2.BaseOptions);
112
113 @override
114 _i3.Interceptors get interceptors =>
115 (super.noSuchMethod(
116 Invocation.getter(#interceptors),
117 returnValue: _FakeInterceptors_1(
118 this,
119 Invocation.getter(#interceptors),
120 ),
121 )
122 as _i3.Interceptors);
123
124 @override
125 _i4.HttpClientAdapter get httpClientAdapter =>
126 (super.noSuchMethod(
127 Invocation.getter(#httpClientAdapter),
128 returnValue: _FakeHttpClientAdapter_2(
129 this,
130 Invocation.getter(#httpClientAdapter),
131 ),
132 )
133 as _i4.HttpClientAdapter);
134
135 @override
136 _i5.Transformer get transformer =>
137 (super.noSuchMethod(
138 Invocation.getter(#transformer),
139 returnValue: _FakeTransformer_3(
140 this,
141 Invocation.getter(#transformer),
142 ),
143 )
144 as _i5.Transformer);
145
146 @override
147 set options(_i2.BaseOptions? value) => super.noSuchMethod(
148 Invocation.setter(#options, value),
149 returnValueForMissingStub: null,
150 );
151
152 @override
153 set httpClientAdapter(_i4.HttpClientAdapter? value) => super.noSuchMethod(
154 Invocation.setter(#httpClientAdapter, value),
155 returnValueForMissingStub: null,
156 );
157
158 @override
159 set transformer(_i5.Transformer? value) => super.noSuchMethod(
160 Invocation.setter(#transformer, value),
161 returnValueForMissingStub: null,
162 );
163
164 @override
165 void close({bool? force = false}) => super.noSuchMethod(
166 Invocation.method(#close, [], {#force: force}),
167 returnValueForMissingStub: null,
168 );
169
170 @override
171 _i9.Future<_i6.Response<T>> head<T>(
172 String? path, {
173 Object? data,
174 Map<String, dynamic>? queryParameters,
175 _i2.Options? options,
176 _i10.CancelToken? cancelToken,
177 }) =>
178 (super.noSuchMethod(
179 Invocation.method(
180 #head,
181 [path],
182 {
183 #data: data,
184 #queryParameters: queryParameters,
185 #options: options,
186 #cancelToken: cancelToken,
187 },
188 ),
189 returnValue: _i9.Future<_i6.Response<T>>.value(
190 _FakeResponse_4<T>(
191 this,
192 Invocation.method(
193 #head,
194 [path],
195 {
196 #data: data,
197 #queryParameters: queryParameters,
198 #options: options,
199 #cancelToken: cancelToken,
200 },
201 ),
202 ),
203 ),
204 )
205 as _i9.Future<_i6.Response<T>>);
206
207 @override
208 _i9.Future<_i6.Response<T>> headUri<T>(
209 Uri? uri, {
210 Object? data,
211 _i2.Options? options,
212 _i10.CancelToken? cancelToken,
213 }) =>
214 (super.noSuchMethod(
215 Invocation.method(
216 #headUri,
217 [uri],
218 {#data: data, #options: options, #cancelToken: cancelToken},
219 ),
220 returnValue: _i9.Future<_i6.Response<T>>.value(
221 _FakeResponse_4<T>(
222 this,
223 Invocation.method(
224 #headUri,
225 [uri],
226 {#data: data, #options: options, #cancelToken: cancelToken},
227 ),
228 ),
229 ),
230 )
231 as _i9.Future<_i6.Response<T>>);
232
233 @override
234 _i9.Future<_i6.Response<T>> get<T>(
235 String? path, {
236 Object? data,
237 Map<String, dynamic>? queryParameters,
238 _i2.Options? options,
239 _i10.CancelToken? cancelToken,
240 _i2.ProgressCallback? onReceiveProgress,
241 }) =>
242 (super.noSuchMethod(
243 Invocation.method(
244 #get,
245 [path],
246 {
247 #data: data,
248 #queryParameters: queryParameters,
249 #options: options,
250 #cancelToken: cancelToken,
251 #onReceiveProgress: onReceiveProgress,
252 },
253 ),
254 returnValue: _i9.Future<_i6.Response<T>>.value(
255 _FakeResponse_4<T>(
256 this,
257 Invocation.method(
258 #get,
259 [path],
260 {
261 #data: data,
262 #queryParameters: queryParameters,
263 #options: options,
264 #cancelToken: cancelToken,
265 #onReceiveProgress: onReceiveProgress,
266 },
267 ),
268 ),
269 ),
270 )
271 as _i9.Future<_i6.Response<T>>);
272
273 @override
274 _i9.Future<_i6.Response<T>> getUri<T>(
275 Uri? uri, {
276 Object? data,
277 _i2.Options? options,
278 _i10.CancelToken? cancelToken,
279 _i2.ProgressCallback? onReceiveProgress,
280 }) =>
281 (super.noSuchMethod(
282 Invocation.method(
283 #getUri,
284 [uri],
285 {
286 #data: data,
287 #options: options,
288 #cancelToken: cancelToken,
289 #onReceiveProgress: onReceiveProgress,
290 },
291 ),
292 returnValue: _i9.Future<_i6.Response<T>>.value(
293 _FakeResponse_4<T>(
294 this,
295 Invocation.method(
296 #getUri,
297 [uri],
298 {
299 #data: data,
300 #options: options,
301 #cancelToken: cancelToken,
302 #onReceiveProgress: onReceiveProgress,
303 },
304 ),
305 ),
306 ),
307 )
308 as _i9.Future<_i6.Response<T>>);
309
310 @override
311 _i9.Future<_i6.Response<T>> post<T>(
312 String? path, {
313 Object? data,
314 Map<String, dynamic>? queryParameters,
315 _i2.Options? options,
316 _i10.CancelToken? cancelToken,
317 _i2.ProgressCallback? onSendProgress,
318 _i2.ProgressCallback? onReceiveProgress,
319 }) =>
320 (super.noSuchMethod(
321 Invocation.method(
322 #post,
323 [path],
324 {
325 #data: data,
326 #queryParameters: queryParameters,
327 #options: options,
328 #cancelToken: cancelToken,
329 #onSendProgress: onSendProgress,
330 #onReceiveProgress: onReceiveProgress,
331 },
332 ),
333 returnValue: _i9.Future<_i6.Response<T>>.value(
334 _FakeResponse_4<T>(
335 this,
336 Invocation.method(
337 #post,
338 [path],
339 {
340 #data: data,
341 #queryParameters: queryParameters,
342 #options: options,
343 #cancelToken: cancelToken,
344 #onSendProgress: onSendProgress,
345 #onReceiveProgress: onReceiveProgress,
346 },
347 ),
348 ),
349 ),
350 )
351 as _i9.Future<_i6.Response<T>>);
352
353 @override
354 _i9.Future<_i6.Response<T>> postUri<T>(
355 Uri? uri, {
356 Object? data,
357 _i2.Options? options,
358 _i10.CancelToken? cancelToken,
359 _i2.ProgressCallback? onSendProgress,
360 _i2.ProgressCallback? onReceiveProgress,
361 }) =>
362 (super.noSuchMethod(
363 Invocation.method(
364 #postUri,
365 [uri],
366 {
367 #data: data,
368 #options: options,
369 #cancelToken: cancelToken,
370 #onSendProgress: onSendProgress,
371 #onReceiveProgress: onReceiveProgress,
372 },
373 ),
374 returnValue: _i9.Future<_i6.Response<T>>.value(
375 _FakeResponse_4<T>(
376 this,
377 Invocation.method(
378 #postUri,
379 [uri],
380 {
381 #data: data,
382 #options: options,
383 #cancelToken: cancelToken,
384 #onSendProgress: onSendProgress,
385 #onReceiveProgress: onReceiveProgress,
386 },
387 ),
388 ),
389 ),
390 )
391 as _i9.Future<_i6.Response<T>>);
392
393 @override
394 _i9.Future<_i6.Response<T>> put<T>(
395 String? path, {
396 Object? data,
397 Map<String, dynamic>? queryParameters,
398 _i2.Options? options,
399 _i10.CancelToken? cancelToken,
400 _i2.ProgressCallback? onSendProgress,
401 _i2.ProgressCallback? onReceiveProgress,
402 }) =>
403 (super.noSuchMethod(
404 Invocation.method(
405 #put,
406 [path],
407 {
408 #data: data,
409 #queryParameters: queryParameters,
410 #options: options,
411 #cancelToken: cancelToken,
412 #onSendProgress: onSendProgress,
413 #onReceiveProgress: onReceiveProgress,
414 },
415 ),
416 returnValue: _i9.Future<_i6.Response<T>>.value(
417 _FakeResponse_4<T>(
418 this,
419 Invocation.method(
420 #put,
421 [path],
422 {
423 #data: data,
424 #queryParameters: queryParameters,
425 #options: options,
426 #cancelToken: cancelToken,
427 #onSendProgress: onSendProgress,
428 #onReceiveProgress: onReceiveProgress,
429 },
430 ),
431 ),
432 ),
433 )
434 as _i9.Future<_i6.Response<T>>);
435
436 @override
437 _i9.Future<_i6.Response<T>> putUri<T>(
438 Uri? uri, {
439 Object? data,
440 _i2.Options? options,
441 _i10.CancelToken? cancelToken,
442 _i2.ProgressCallback? onSendProgress,
443 _i2.ProgressCallback? onReceiveProgress,
444 }) =>
445 (super.noSuchMethod(
446 Invocation.method(
447 #putUri,
448 [uri],
449 {
450 #data: data,
451 #options: options,
452 #cancelToken: cancelToken,
453 #onSendProgress: onSendProgress,
454 #onReceiveProgress: onReceiveProgress,
455 },
456 ),
457 returnValue: _i9.Future<_i6.Response<T>>.value(
458 _FakeResponse_4<T>(
459 this,
460 Invocation.method(
461 #putUri,
462 [uri],
463 {
464 #data: data,
465 #options: options,
466 #cancelToken: cancelToken,
467 #onSendProgress: onSendProgress,
468 #onReceiveProgress: onReceiveProgress,
469 },
470 ),
471 ),
472 ),
473 )
474 as _i9.Future<_i6.Response<T>>);
475
476 @override
477 _i9.Future<_i6.Response<T>> patch<T>(
478 String? path, {
479 Object? data,
480 Map<String, dynamic>? queryParameters,
481 _i2.Options? options,
482 _i10.CancelToken? cancelToken,
483 _i2.ProgressCallback? onSendProgress,
484 _i2.ProgressCallback? onReceiveProgress,
485 }) =>
486 (super.noSuchMethod(
487 Invocation.method(
488 #patch,
489 [path],
490 {
491 #data: data,
492 #queryParameters: queryParameters,
493 #options: options,
494 #cancelToken: cancelToken,
495 #onSendProgress: onSendProgress,
496 #onReceiveProgress: onReceiveProgress,
497 },
498 ),
499 returnValue: _i9.Future<_i6.Response<T>>.value(
500 _FakeResponse_4<T>(
501 this,
502 Invocation.method(
503 #patch,
504 [path],
505 {
506 #data: data,
507 #queryParameters: queryParameters,
508 #options: options,
509 #cancelToken: cancelToken,
510 #onSendProgress: onSendProgress,
511 #onReceiveProgress: onReceiveProgress,
512 },
513 ),
514 ),
515 ),
516 )
517 as _i9.Future<_i6.Response<T>>);
518
519 @override
520 _i9.Future<_i6.Response<T>> patchUri<T>(
521 Uri? uri, {
522 Object? data,
523 _i2.Options? options,
524 _i10.CancelToken? cancelToken,
525 _i2.ProgressCallback? onSendProgress,
526 _i2.ProgressCallback? onReceiveProgress,
527 }) =>
528 (super.noSuchMethod(
529 Invocation.method(
530 #patchUri,
531 [uri],
532 {
533 #data: data,
534 #options: options,
535 #cancelToken: cancelToken,
536 #onSendProgress: onSendProgress,
537 #onReceiveProgress: onReceiveProgress,
538 },
539 ),
540 returnValue: _i9.Future<_i6.Response<T>>.value(
541 _FakeResponse_4<T>(
542 this,
543 Invocation.method(
544 #patchUri,
545 [uri],
546 {
547 #data: data,
548 #options: options,
549 #cancelToken: cancelToken,
550 #onSendProgress: onSendProgress,
551 #onReceiveProgress: onReceiveProgress,
552 },
553 ),
554 ),
555 ),
556 )
557 as _i9.Future<_i6.Response<T>>);
558
559 @override
560 _i9.Future<_i6.Response<T>> delete<T>(
561 String? path, {
562 Object? data,
563 Map<String, dynamic>? queryParameters,
564 _i2.Options? options,
565 _i10.CancelToken? cancelToken,
566 }) =>
567 (super.noSuchMethod(
568 Invocation.method(
569 #delete,
570 [path],
571 {
572 #data: data,
573 #queryParameters: queryParameters,
574 #options: options,
575 #cancelToken: cancelToken,
576 },
577 ),
578 returnValue: _i9.Future<_i6.Response<T>>.value(
579 _FakeResponse_4<T>(
580 this,
581 Invocation.method(
582 #delete,
583 [path],
584 {
585 #data: data,
586 #queryParameters: queryParameters,
587 #options: options,
588 #cancelToken: cancelToken,
589 },
590 ),
591 ),
592 ),
593 )
594 as _i9.Future<_i6.Response<T>>);
595
596 @override
597 _i9.Future<_i6.Response<T>> deleteUri<T>(
598 Uri? uri, {
599 Object? data,
600 _i2.Options? options,
601 _i10.CancelToken? cancelToken,
602 }) =>
603 (super.noSuchMethod(
604 Invocation.method(
605 #deleteUri,
606 [uri],
607 {#data: data, #options: options, #cancelToken: cancelToken},
608 ),
609 returnValue: _i9.Future<_i6.Response<T>>.value(
610 _FakeResponse_4<T>(
611 this,
612 Invocation.method(
613 #deleteUri,
614 [uri],
615 {#data: data, #options: options, #cancelToken: cancelToken},
616 ),
617 ),
618 ),
619 )
620 as _i9.Future<_i6.Response<T>>);
621
622 @override
623 _i9.Future<_i6.Response<dynamic>> download(
624 String? urlPath,
625 dynamic savePath, {
626 _i2.ProgressCallback? onReceiveProgress,
627 Map<String, dynamic>? queryParameters,
628 _i10.CancelToken? cancelToken,
629 bool? deleteOnError = true,
630 _i2.FileAccessMode? fileAccessMode = _i2.FileAccessMode.write,
631 String? lengthHeader = 'content-length',
632 Object? data,
633 _i2.Options? options,
634 }) =>
635 (super.noSuchMethod(
636 Invocation.method(
637 #download,
638 [urlPath, savePath],
639 {
640 #onReceiveProgress: onReceiveProgress,
641 #queryParameters: queryParameters,
642 #cancelToken: cancelToken,
643 #deleteOnError: deleteOnError,
644 #fileAccessMode: fileAccessMode,
645 #lengthHeader: lengthHeader,
646 #data: data,
647 #options: options,
648 },
649 ),
650 returnValue: _i9.Future<_i6.Response<dynamic>>.value(
651 _FakeResponse_4<dynamic>(
652 this,
653 Invocation.method(
654 #download,
655 [urlPath, savePath],
656 {
657 #onReceiveProgress: onReceiveProgress,
658 #queryParameters: queryParameters,
659 #cancelToken: cancelToken,
660 #deleteOnError: deleteOnError,
661 #fileAccessMode: fileAccessMode,
662 #lengthHeader: lengthHeader,
663 #data: data,
664 #options: options,
665 },
666 ),
667 ),
668 ),
669 )
670 as _i9.Future<_i6.Response<dynamic>>);
671
672 @override
673 _i9.Future<_i6.Response<dynamic>> downloadUri(
674 Uri? uri,
675 dynamic savePath, {
676 _i2.ProgressCallback? onReceiveProgress,
677 _i10.CancelToken? cancelToken,
678 bool? deleteOnError = true,
679 _i2.FileAccessMode? fileAccessMode = _i2.FileAccessMode.write,
680 String? lengthHeader = 'content-length',
681 Object? data,
682 _i2.Options? options,
683 }) =>
684 (super.noSuchMethod(
685 Invocation.method(
686 #downloadUri,
687 [uri, savePath],
688 {
689 #onReceiveProgress: onReceiveProgress,
690 #cancelToken: cancelToken,
691 #deleteOnError: deleteOnError,
692 #fileAccessMode: fileAccessMode,
693 #lengthHeader: lengthHeader,
694 #data: data,
695 #options: options,
696 },
697 ),
698 returnValue: _i9.Future<_i6.Response<dynamic>>.value(
699 _FakeResponse_4<dynamic>(
700 this,
701 Invocation.method(
702 #downloadUri,
703 [uri, savePath],
704 {
705 #onReceiveProgress: onReceiveProgress,
706 #cancelToken: cancelToken,
707 #deleteOnError: deleteOnError,
708 #fileAccessMode: fileAccessMode,
709 #lengthHeader: lengthHeader,
710 #data: data,
711 #options: options,
712 },
713 ),
714 ),
715 ),
716 )
717 as _i9.Future<_i6.Response<dynamic>>);
718
719 @override
720 _i9.Future<_i6.Response<T>> request<T>(
721 String? url, {
722 Object? data,
723 Map<String, dynamic>? queryParameters,
724 _i10.CancelToken? cancelToken,
725 _i2.Options? options,
726 _i2.ProgressCallback? onSendProgress,
727 _i2.ProgressCallback? onReceiveProgress,
728 }) =>
729 (super.noSuchMethod(
730 Invocation.method(
731 #request,
732 [url],
733 {
734 #data: data,
735 #queryParameters: queryParameters,
736 #cancelToken: cancelToken,
737 #options: options,
738 #onSendProgress: onSendProgress,
739 #onReceiveProgress: onReceiveProgress,
740 },
741 ),
742 returnValue: _i9.Future<_i6.Response<T>>.value(
743 _FakeResponse_4<T>(
744 this,
745 Invocation.method(
746 #request,
747 [url],
748 {
749 #data: data,
750 #queryParameters: queryParameters,
751 #cancelToken: cancelToken,
752 #options: options,
753 #onSendProgress: onSendProgress,
754 #onReceiveProgress: onReceiveProgress,
755 },
756 ),
757 ),
758 ),
759 )
760 as _i9.Future<_i6.Response<T>>);
761
762 @override
763 _i9.Future<_i6.Response<T>> requestUri<T>(
764 Uri? uri, {
765 Object? data,
766 _i10.CancelToken? cancelToken,
767 _i2.Options? options,
768 _i2.ProgressCallback? onSendProgress,
769 _i2.ProgressCallback? onReceiveProgress,
770 }) =>
771 (super.noSuchMethod(
772 Invocation.method(
773 #requestUri,
774 [uri],
775 {
776 #data: data,
777 #cancelToken: cancelToken,
778 #options: options,
779 #onSendProgress: onSendProgress,
780 #onReceiveProgress: onReceiveProgress,
781 },
782 ),
783 returnValue: _i9.Future<_i6.Response<T>>.value(
784 _FakeResponse_4<T>(
785 this,
786 Invocation.method(
787 #requestUri,
788 [uri],
789 {
790 #data: data,
791 #cancelToken: cancelToken,
792 #options: options,
793 #onSendProgress: onSendProgress,
794 #onReceiveProgress: onReceiveProgress,
795 },
796 ),
797 ),
798 ),
799 )
800 as _i9.Future<_i6.Response<T>>);
801
802 @override
803 _i9.Future<_i6.Response<T>> fetch<T>(_i2.RequestOptions? requestOptions) =>
804 (super.noSuchMethod(
805 Invocation.method(#fetch, [requestOptions]),
806 returnValue: _i9.Future<_i6.Response<T>>.value(
807 _FakeResponse_4<T>(
808 this,
809 Invocation.method(#fetch, [requestOptions]),
810 ),
811 ),
812 )
813 as _i9.Future<_i6.Response<T>>);
814
815 @override
816 _i7.Dio clone({
817 _i2.BaseOptions? options,
818 _i3.Interceptors? interceptors,
819 _i4.HttpClientAdapter? httpClientAdapter,
820 _i5.Transformer? transformer,
821 }) =>
822 (super.noSuchMethod(
823 Invocation.method(#clone, [], {
824 #options: options,
825 #interceptors: interceptors,
826 #httpClientAdapter: httpClientAdapter,
827 #transformer: transformer,
828 }),
829 returnValue: _FakeDio_5(
830 this,
831 Invocation.method(#clone, [], {
832 #options: options,
833 #interceptors: interceptors,
834 #httpClientAdapter: httpClientAdapter,
835 #transformer: transformer,
836 }),
837 ),
838 )
839 as _i7.Dio);
840}
841
842/// A class which mocks [FlutterSecureStorage].
843///
844/// See the documentation for Mockito's code generation for more information.
845class MockFlutterSecureStorage extends _i1.Mock
846 implements _i8.FlutterSecureStorage {
847 MockFlutterSecureStorage() {
848 _i1.throwOnMissingStub(this);
849 }
850
851 @override
852 _i8.IOSOptions get iOptions =>
853 (super.noSuchMethod(
854 Invocation.getter(#iOptions),
855 returnValue: _FakeIOSOptions_6(this, Invocation.getter(#iOptions)),
856 )
857 as _i8.IOSOptions);
858
859 @override
860 _i8.AndroidOptions get aOptions =>
861 (super.noSuchMethod(
862 Invocation.getter(#aOptions),
863 returnValue: _FakeAndroidOptions_7(
864 this,
865 Invocation.getter(#aOptions),
866 ),
867 )
868 as _i8.AndroidOptions);
869
870 @override
871 _i8.LinuxOptions get lOptions =>
872 (super.noSuchMethod(
873 Invocation.getter(#lOptions),
874 returnValue: _FakeLinuxOptions_8(
875 this,
876 Invocation.getter(#lOptions),
877 ),
878 )
879 as _i8.LinuxOptions);
880
881 @override
882 _i8.WindowsOptions get wOptions =>
883 (super.noSuchMethod(
884 Invocation.getter(#wOptions),
885 returnValue: _FakeWindowsOptions_9(
886 this,
887 Invocation.getter(#wOptions),
888 ),
889 )
890 as _i8.WindowsOptions);
891
892 @override
893 _i8.WebOptions get webOptions =>
894 (super.noSuchMethod(
895 Invocation.getter(#webOptions),
896 returnValue: _FakeWebOptions_10(
897 this,
898 Invocation.getter(#webOptions),
899 ),
900 )
901 as _i8.WebOptions);
902
903 @override
904 _i8.MacOsOptions get mOptions =>
905 (super.noSuchMethod(
906 Invocation.getter(#mOptions),
907 returnValue: _FakeMacOsOptions_11(
908 this,
909 Invocation.getter(#mOptions),
910 ),
911 )
912 as _i8.MacOsOptions);
913
914 @override
915 void registerListener({
916 required String? key,
917 required _i11.ValueChanged<String?>? listener,
918 }) => super.noSuchMethod(
919 Invocation.method(#registerListener, [], {#key: key, #listener: listener}),
920 returnValueForMissingStub: null,
921 );
922
923 @override
924 void unregisterListener({
925 required String? key,
926 required _i11.ValueChanged<String?>? listener,
927 }) => super.noSuchMethod(
928 Invocation.method(#unregisterListener, [], {
929 #key: key,
930 #listener: listener,
931 }),
932 returnValueForMissingStub: null,
933 );
934
935 @override
936 void unregisterAllListenersForKey({required String? key}) =>
937 super.noSuchMethod(
938 Invocation.method(#unregisterAllListenersForKey, [], {#key: key}),
939 returnValueForMissingStub: null,
940 );
941
942 @override
943 void unregisterAllListeners() => super.noSuchMethod(
944 Invocation.method(#unregisterAllListeners, []),
945 returnValueForMissingStub: null,
946 );
947
948 @override
949 _i9.Future<void> write({
950 required String? key,
951 required String? value,
952 _i8.IOSOptions? iOptions,
953 _i8.AndroidOptions? aOptions,
954 _i8.LinuxOptions? lOptions,
955 _i8.WebOptions? webOptions,
956 _i8.MacOsOptions? mOptions,
957 _i8.WindowsOptions? wOptions,
958 }) =>
959 (super.noSuchMethod(
960 Invocation.method(#write, [], {
961 #key: key,
962 #value: value,
963 #iOptions: iOptions,
964 #aOptions: aOptions,
965 #lOptions: lOptions,
966 #webOptions: webOptions,
967 #mOptions: mOptions,
968 #wOptions: wOptions,
969 }),
970 returnValue: _i9.Future<void>.value(),
971 returnValueForMissingStub: _i9.Future<void>.value(),
972 )
973 as _i9.Future<void>);
974
975 @override
976 _i9.Future<String?> read({
977 required String? key,
978 _i8.IOSOptions? iOptions,
979 _i8.AndroidOptions? aOptions,
980 _i8.LinuxOptions? lOptions,
981 _i8.WebOptions? webOptions,
982 _i8.MacOsOptions? mOptions,
983 _i8.WindowsOptions? wOptions,
984 }) =>
985 (super.noSuchMethod(
986 Invocation.method(#read, [], {
987 #key: key,
988 #iOptions: iOptions,
989 #aOptions: aOptions,
990 #lOptions: lOptions,
991 #webOptions: webOptions,
992 #mOptions: mOptions,
993 #wOptions: wOptions,
994 }),
995 returnValue: _i9.Future<String?>.value(),
996 )
997 as _i9.Future<String?>);
998
999 @override
1000 _i9.Future<bool> containsKey({
1001 required String? key,
1002 _i8.IOSOptions? iOptions,
1003 _i8.AndroidOptions? aOptions,
1004 _i8.LinuxOptions? lOptions,
1005 _i8.WebOptions? webOptions,
1006 _i8.MacOsOptions? mOptions,
1007 _i8.WindowsOptions? wOptions,
1008 }) =>
1009 (super.noSuchMethod(
1010 Invocation.method(#containsKey, [], {
1011 #key: key,
1012 #iOptions: iOptions,
1013 #aOptions: aOptions,
1014 #lOptions: lOptions,
1015 #webOptions: webOptions,
1016 #mOptions: mOptions,
1017 #wOptions: wOptions,
1018 }),
1019 returnValue: _i9.Future<bool>.value(false),
1020 )
1021 as _i9.Future<bool>);
1022
1023 @override
1024 _i9.Future<void> delete({
1025 required String? key,
1026 _i8.IOSOptions? iOptions,
1027 _i8.AndroidOptions? aOptions,
1028 _i8.LinuxOptions? lOptions,
1029 _i8.WebOptions? webOptions,
1030 _i8.MacOsOptions? mOptions,
1031 _i8.WindowsOptions? wOptions,
1032 }) =>
1033 (super.noSuchMethod(
1034 Invocation.method(#delete, [], {
1035 #key: key,
1036 #iOptions: iOptions,
1037 #aOptions: aOptions,
1038 #lOptions: lOptions,
1039 #webOptions: webOptions,
1040 #mOptions: mOptions,
1041 #wOptions: wOptions,
1042 }),
1043 returnValue: _i9.Future<void>.value(),
1044 returnValueForMissingStub: _i9.Future<void>.value(),
1045 )
1046 as _i9.Future<void>);
1047
1048 @override
1049 _i9.Future<Map<String, String>> readAll({
1050 _i8.IOSOptions? iOptions,
1051 _i8.AndroidOptions? aOptions,
1052 _i8.LinuxOptions? lOptions,
1053 _i8.WebOptions? webOptions,
1054 _i8.MacOsOptions? mOptions,
1055 _i8.WindowsOptions? wOptions,
1056 }) =>
1057 (super.noSuchMethod(
1058 Invocation.method(#readAll, [], {
1059 #iOptions: iOptions,
1060 #aOptions: aOptions,
1061 #lOptions: lOptions,
1062 #webOptions: webOptions,
1063 #mOptions: mOptions,
1064 #wOptions: wOptions,
1065 }),
1066 returnValue: _i9.Future<Map<String, String>>.value(
1067 <String, String>{},
1068 ),
1069 )
1070 as _i9.Future<Map<String, String>>);
1071
1072 @override
1073 _i9.Future<void> deleteAll({
1074 _i8.IOSOptions? iOptions,
1075 _i8.AndroidOptions? aOptions,
1076 _i8.LinuxOptions? lOptions,
1077 _i8.WebOptions? webOptions,
1078 _i8.MacOsOptions? mOptions,
1079 _i8.WindowsOptions? wOptions,
1080 }) =>
1081 (super.noSuchMethod(
1082 Invocation.method(#deleteAll, [], {
1083 #iOptions: iOptions,
1084 #aOptions: aOptions,
1085 #lOptions: lOptions,
1086 #webOptions: webOptions,
1087 #mOptions: mOptions,
1088 #wOptions: wOptions,
1089 }),
1090 returnValue: _i9.Future<void>.value(),
1091 returnValueForMissingStub: _i9.Future<void>.value(),
1092 )
1093 as _i9.Future<void>);
1094
1095 @override
1096 _i9.Future<bool?> isCupertinoProtectedDataAvailable() =>
1097 (super.noSuchMethod(
1098 Invocation.method(#isCupertinoProtectedDataAvailable, []),
1099 returnValue: _i9.Future<bool?>.value(),
1100 )
1101 as _i9.Future<bool?>);
1102}