| 1234567891011121314151617181920212223 |
- using System;
- using Microsoft.VisualStudio.TestTools.UnitTesting;
- using Renci.SshNet.Tests.Properties;
- namespace Renci.SshNet.Tests.Classes
- {
- /// <summary>
- /// Implementation of the SSH File Transfer Protocol (SFTP) over SSH.
- /// </summary>
- public partial class SftpClientTest
- {
- [TestMethod]
- public void Test_Sftp_DeleteFile_Null()
- {
- using (var sftp = new SftpClient(Resources.HOST, Resources.USERNAME, Resources.PASSWORD))
- {
- Assert.ThrowsException<ArgumentNullException>(() => sftp.DeleteFile(null));
- }
- }
- }
- }
|