Skip to content

Commit 6db04e6

Browse files
Generate MockPlatformManager
1 parent 47bd4c3 commit 6db04e6

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

test/instabug_flutter_test.mocks.dart

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// Mocks generated by Mockito 5.0.10 from annotations
2+
// in instabug_flutter/example/ios/.symlinks/plugins/instabug_flutter/test/instabug_flutter_test.dart.
3+
// Do not manually edit this file.
4+
5+
import 'package:instabug_flutter/utils/platform_manager.dart' as _i2;
6+
import 'package:mockito/mockito.dart' as _i1;
7+
8+
// ignore_for_file: avoid_redundant_argument_values
9+
// ignore_for_file: comment_references
10+
// ignore_for_file: invalid_use_of_visible_for_testing_member
11+
// ignore_for_file: prefer_const_constructors
12+
// ignore_for_file: unnecessary_parenthesis
13+
14+
/// A class which mocks [PlatformManager].
15+
///
16+
/// See the documentation for Mockito's code generation for more information.
17+
class MockPlatformManager extends _i1.Mock implements _i2.PlatformManager {
18+
MockPlatformManager() {
19+
_i1.throwOnMissingStub(this);
20+
}
21+
22+
@override
23+
bool isAndroid() =>
24+
(super.noSuchMethod(Invocation.method(#isAndroid, []), returnValue: false)
25+
as bool);
26+
@override
27+
bool isIOS() =>
28+
(super.noSuchMethod(Invocation.method(#isIOS, []), returnValue: false)
29+
as bool);
30+
}

0 commit comments

Comments
 (0)