nearby_connections/test/nearby_connections_test.dart

17 lines
358 B
Dart
Raw Normal View History

2019-05-10 06:54:05 +00:00
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
const MethodChannel channel = MethodChannel('nearby_connections');
setUp(() {
channel.setMockMethodCallHandler((MethodCall methodCall) async {
return '42';
});
});
tearDown(() {
channel.setMockMethodCallHandler(null);
});
}