Initial commit

This commit is contained in:
PapaTutuWawa committed 2022-01-25 20:43:07 +01:00
commit d565c764e2
45 files changed
+1895

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:moxdns/moxdns.dart';
void main() {
const MethodChannel channel = MethodChannel('moxdns');
TestWidgetsFlutterBinding.ensureInitialized();
setUp(() {
channel.setMockMethodCallHandler((MethodCall methodCall) async {
return '42';
});
});
tearDown(() {
channel.setMockMethodCallHandler(null);
});
test('getPlatformVersion', () async {
expect(await Moxdns.platformVersion, '42');
});
}