using System;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Renci.SshNet.Tests.Properties;
namespace Renci.SshNet.Tests.Classes
{
///
/// Implementation of the SSH File Transfer Protocol (SFTP) over SSH.
///
public partial class SftpClientTest
{
[TestMethod]
public async Task Test_Sftp_DeleteFileAsync_Null()
{
using (var sftp = new SftpClient(Resources.HOST, Resources.USERNAME, Resources.PASSWORD))
{
await Assert.ThrowsExceptionAsync(() => sftp.DeleteFileAsync(null, default));
}
}
}
}