yoomoney_flutter/test/yookassa_payments_flutter_test.dart
Александр Кургин 90f177be98 Release 1.0.5 version
2023-06-05 17:59:47 +03:00

19 lines
561 B
Dart

import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
const MethodChannel channel = MethodChannel('yookassa_payments_flutter');
TestWidgetsFlutterBinding.ensureInitialized();
setUp(() {
TestDefaultBinaryMessengerBinding.instance!.defaultBinaryMessenger
.setMockMethodCallHandler(channel, (methodInvocation) => null);
});
tearDown(() {
TestDefaultBinaryMessengerBinding.instance!.defaultBinaryMessenger
.setMockMethodCallHandler(channel, (methodInvocation) => null);
});
}