|
| 1 | +// Mocks generated by Mockito 5.0.0 from annotations |
| 2 | +// in android_intent/test/android_intent_test.dart. |
| 3 | +// Do not manually edit this file. |
| 4 | + |
| 5 | +import 'dart:async' as _i5; |
| 6 | + |
| 7 | +import 'package:flutter/src/services/binary_messenger.dart' as _i3; |
| 8 | +import 'package:flutter/src/services/message_codec.dart' as _i2; |
| 9 | +import 'package:flutter/src/services/platform_channel.dart' as _i4; |
| 10 | +import 'package:mockito/mockito.dart' as _i1; |
| 11 | + |
| 12 | +// ignore_for_file: comment_references |
| 13 | +// ignore_for_file: unnecessary_parenthesis |
| 14 | + |
| 15 | +class _FakeMethodCodec extends _i1.Fake implements _i2.MethodCodec {} |
| 16 | + |
| 17 | +class _FakeBinaryMessenger extends _i1.Fake implements _i3.BinaryMessenger {} |
| 18 | + |
| 19 | +/// A class which mocks [MethodChannel]. |
| 20 | +/// |
| 21 | +/// See the documentation for Mockito's code generation for more information. |
| 22 | +class MockMethodChannel extends _i1.Mock implements _i4.MethodChannel { |
| 23 | + MockMethodChannel() { |
| 24 | + _i1.throwOnMissingStub(this); |
| 25 | + } |
| 26 | + |
| 27 | + @override |
| 28 | + String get name => |
| 29 | + (super.noSuchMethod(Invocation.getter(#name), returnValue: '') as String); |
| 30 | + @override |
| 31 | + _i2.MethodCodec get codec => (super.noSuchMethod(Invocation.getter(#codec), |
| 32 | + returnValue: _FakeMethodCodec()) as _i2.MethodCodec); |
| 33 | + @override |
| 34 | + _i3.BinaryMessenger get binaryMessenger => |
| 35 | + (super.noSuchMethod(Invocation.getter(#binaryMessenger), |
| 36 | + returnValue: _FakeBinaryMessenger()) as _i3.BinaryMessenger); |
| 37 | + @override |
| 38 | + _i5.Future<T?> invokeMethod<T>(String? method, [dynamic arguments]) => |
| 39 | + (super.noSuchMethod(Invocation.method(#invokeMethod, [method, arguments]), |
| 40 | + returnValue: Future.value(null)) as _i5.Future<T?>); |
| 41 | + @override |
| 42 | + _i5.Future<List<T>?> invokeListMethod<T>(String? method, |
| 43 | + [dynamic arguments]) => |
| 44 | + (super.noSuchMethod( |
| 45 | + Invocation.method(#invokeListMethod, [method, arguments]), |
| 46 | + returnValue: Future.value(<T>[])) as _i5.Future<List<T>?>); |
| 47 | + @override |
| 48 | + _i5.Future<Map<K, V>?> invokeMapMethod<K, V>(String? method, |
| 49 | + [dynamic arguments]) => |
| 50 | + (super.noSuchMethod( |
| 51 | + Invocation.method(#invokeMapMethod, [method, arguments]), |
| 52 | + returnValue: Future.value(<K, V>{})) as _i5.Future<Map<K, V>?>); |
| 53 | + @override |
| 54 | + bool checkMethodCallHandler( |
| 55 | + _i5.Future<dynamic> Function(_i2.MethodCall)? handler) => |
| 56 | + (super.noSuchMethod(Invocation.method(#checkMethodCallHandler, [handler]), |
| 57 | + returnValue: false) as bool); |
| 58 | + @override |
| 59 | + bool checkMockMethodCallHandler( |
| 60 | + _i5.Future<dynamic> Function(_i2.MethodCall)? handler) => |
| 61 | + (super.noSuchMethod( |
| 62 | + Invocation.method(#checkMockMethodCallHandler, [handler]), |
| 63 | + returnValue: false) as bool); |
| 64 | +} |
0 commit comments