public async Task WDriveCanBeConnectedAsync() { // Arrange IAccesoUPVService service = new AccesoUPVService(); NetworkDrive drive = service.Disco_W; drive.Username = SharedData.Username; // Keep to disconnect in further testing WDrive = drive; // Act and Assert await ConnectionTestsAsync.CanBeConnectedAsync(drive); }
public async Task VPN_DSICCanBeConnectedAsync() { // Arrange IAccesoUPVService service = new AccesoUPVService(); VPN vpn = service.VPN_DSIC; await vpn.SetNameAutoAsync(); // Keep to disconnect in further testing VPN_DSIC = vpn; // Act and Assert await ConnectionTestsAsync.CanBeConnectedAsync(vpn); }