yoomoney_flutter/test/yookassa_payments_flutter_test.dart
Искандар Р. Шабаев b7c7e3fd69 Initial commit
2022-07-03 20:52:22 +03:00

19 lines
415 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(() {
channel.setMockMethodCallHandler((MethodCall methodCall) async {
return '42';
});
});
tearDown(() {
channel.setMockMethodCallHandler(null);
});
}