Skip to content

Commit

Permalink
Fix dummy
Browse files Browse the repository at this point in the history
  • Loading branch information
tadaskay committed Jul 21, 2023
1 parent 554f131 commit 65a2d23
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/wireguard_dart_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ import 'package:wireguard_dart/wireguard_dart_platform_interface.dart';
import 'package:wireguard_dart/wireguard_dart.dart';

class MockWireguardDartPlatform with MockPlatformInterfaceMixin implements WireguardDartPlatform {

@override
Future<void> nativeInit() => Future.value();

@override
Future<void> setupTunnel({required String bundleId}) => Future.value();
Future<void> setupTunnel({required String bundleId, String? win32ServiceName}) => Future.value();

@override
Future<void> connect({required String cfg}) => Future.value();
Expand Down

0 comments on commit 65a2d23

Please sign in to comment.