nearby_connections/test/nearby_connections_test.dart

18 lines
419 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';
import 'package:nearby_connections/nearby_connections.dart';
void main() {
const MethodChannel channel = MethodChannel('nearby_connections');
setUp(() {
channel.setMockMethodCallHandler((MethodCall methodCall) async {
return '42';
});
});
tearDown(() {
channel.setMockMethodCallHandler(null);
});
}