using Microsoft.VisualStudio.TestTools.UnitTesting;
using Renci.SshNet.Sftp;
using Renci.SshNet.Tests.Common;
using Renci.SshNet.Tests.Properties;
using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace Renci.SshNet.Tests.Classes
{
    /// 
    /// Implementation of the SSH File Transfer Protocol (SFTP) over SSH.
    /// 
    [TestClass]
    public partial class SftpClientTest : TestBase
    {
        /// 
        ///A test for SftpClient Constructor
        ///
        [TestMethod()]
        public void SftpClientConstructorTest()
        {
            string host = string.Empty; // TODO: Initialize to an appropriate value
            string username = string.Empty; // TODO: Initialize to an appropriate value
            PrivateKeyFile[] keyFiles = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(host, username, keyFiles);
            Assert.Inconclusive("TODO: Implement code to verify target");
        }
        /// 
        ///A test for SftpClient Constructor
        ///
        [TestMethod()]
        public void SftpClientConstructorTest1()
        {
            string host = string.Empty; // TODO: Initialize to an appropriate value
            int port = 0; // TODO: Initialize to an appropriate value
            string username = string.Empty; // TODO: Initialize to an appropriate value
            PrivateKeyFile[] keyFiles = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(host, port, username, keyFiles);
            Assert.Inconclusive("TODO: Implement code to verify target");
        }
        /// 
        ///A test for SftpClient Constructor
        ///
        [TestMethod()]
        public void SftpClientConstructorTest2()
        {
            string host = string.Empty; // TODO: Initialize to an appropriate value
            string username = string.Empty; // TODO: Initialize to an appropriate value
            string password = string.Empty; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(host, username, password);
            Assert.Inconclusive("TODO: Implement code to verify target");
        }
        /// 
        ///A test for SftpClient Constructor
        ///
        [TestMethod()]
        public void SftpClientConstructorTest3()
        {
            string host = string.Empty; // TODO: Initialize to an appropriate value
            int port = 0; // TODO: Initialize to an appropriate value
            string username = string.Empty; // TODO: Initialize to an appropriate value
            string password = string.Empty; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(host, port, username, password);
            Assert.Inconclusive("TODO: Implement code to verify target");
        }
        /// 
        ///A test for SftpClient Constructor
        ///
        [TestMethod()]
        public void SftpClientConstructorTest4()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo);
            Assert.Inconclusive("TODO: Implement code to verify target");
        }
        /// 
        ///A test for ChangePermissions
        ///
        [TestMethod()]
        public void ChangePermissionsTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            short mode = 0; // TODO: Initialize to an appropriate value
            target.ChangePermissions(path, mode);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for ChangeDirectory
        ///
        [TestMethod()]
        public void ChangeDirectoryTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            target.ChangeDirectory(path);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for BeginUploadFile
        ///
        [TestMethod()]
        public void BeginUploadFileTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            Stream input = null; // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            AsyncCallback asyncCallback = null; // TODO: Initialize to an appropriate value
            object state = null; // TODO: Initialize to an appropriate value
            Action uploadCallback = null; // TODO: Initialize to an appropriate value
            IAsyncResult expected = null; // TODO: Initialize to an appropriate value
            IAsyncResult actual;
            actual = target.BeginUploadFile(input, path, asyncCallback, state, uploadCallback);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for BeginUploadFile
        ///
        [TestMethod()]
        public void BeginUploadFileTest1()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            Stream input = null; // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            bool canOverride = false; // TODO: Initialize to an appropriate value
            AsyncCallback asyncCallback = null; // TODO: Initialize to an appropriate value
            object state = null; // TODO: Initialize to an appropriate value
            Action uploadCallback = null; // TODO: Initialize to an appropriate value
            IAsyncResult expected = null; // TODO: Initialize to an appropriate value
            IAsyncResult actual;
            actual = target.BeginUploadFile(input, path, canOverride, asyncCallback, state, uploadCallback);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for BeginSynchronizeDirectories
        ///
        [TestMethod()]
        public void BeginSynchronizeDirectoriesTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string sourcePath = string.Empty; // TODO: Initialize to an appropriate value
            string destinationPath = string.Empty; // TODO: Initialize to an appropriate value
            string searchPattern = string.Empty; // TODO: Initialize to an appropriate value
            AsyncCallback asyncCallback = null; // TODO: Initialize to an appropriate value
            object state = null; // TODO: Initialize to an appropriate value
            IAsyncResult expected = null; // TODO: Initialize to an appropriate value
            IAsyncResult actual;
            actual = target.BeginSynchronizeDirectories(sourcePath, destinationPath, searchPattern, asyncCallback, state);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for BeginListDirectory
        ///
        [TestMethod()]
        public void BeginListDirectoryTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            AsyncCallback asyncCallback = null; // TODO: Initialize to an appropriate value
            object state = null; // TODO: Initialize to an appropriate value
            Action listCallback = null; // TODO: Initialize to an appropriate value
            IAsyncResult expected = null; // TODO: Initialize to an appropriate value
            IAsyncResult actual;
            actual = target.BeginListDirectory(path, asyncCallback, state, listCallback);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for BeginDownloadFile
        ///
        [TestMethod()]
        public void BeginDownloadFileTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            Stream output = null; // TODO: Initialize to an appropriate value
            AsyncCallback asyncCallback = null; // TODO: Initialize to an appropriate value
            object state = null; // TODO: Initialize to an appropriate value
            Action downloadCallback = null; // TODO: Initialize to an appropriate value
            IAsyncResult expected = null; // TODO: Initialize to an appropriate value
            IAsyncResult actual;
            actual = target.BeginDownloadFile(path, output, asyncCallback, state, downloadCallback);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for AppendText
        ///
        [TestMethod()]
        public void AppendTextTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            Encoding encoding = null; // TODO: Initialize to an appropriate value
            StreamWriter expected = null; // TODO: Initialize to an appropriate value
            StreamWriter actual;
            actual = target.AppendText(path, encoding);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for AppendText
        ///
        [TestMethod()]
        public void AppendTextTest1()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            StreamWriter expected = null; // TODO: Initialize to an appropriate value
            StreamWriter actual;
            actual = target.AppendText(path);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for AppendAllText
        ///
        [TestMethod()]
        public void AppendAllTextTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            string contents = string.Empty; // TODO: Initialize to an appropriate value
            target.AppendAllText(path, contents);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for AppendAllText
        ///
        [TestMethod()]
        public void AppendAllTextTest1()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            string contents = string.Empty; // TODO: Initialize to an appropriate value
            Encoding encoding = null; // TODO: Initialize to an appropriate value
            target.AppendAllText(path, contents, encoding);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for AppendAllLines
        ///
        [TestMethod()]
        public void AppendAllLinesTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            IEnumerable contents = null; // TODO: Initialize to an appropriate value
            target.AppendAllLines(path, contents);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for AppendAllLines
        ///
        [TestMethod()]
        public void AppendAllLinesTest1()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            IEnumerable contents = null; // TODO: Initialize to an appropriate value
            Encoding encoding = null; // TODO: Initialize to an appropriate value
            target.AppendAllLines(path, contents, encoding);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for CreateText
        ///
        [TestMethod()]
        public void CreateTextTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            Encoding encoding = null; // TODO: Initialize to an appropriate value
            StreamWriter expected = null; // TODO: Initialize to an appropriate value
            StreamWriter actual;
            actual = target.CreateText(path, encoding);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for CreateText
        ///
        [TestMethod()]
        public void CreateTextTest1()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            StreamWriter expected = null; // TODO: Initialize to an appropriate value
            StreamWriter actual;
            actual = target.CreateText(path);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for CreateDirectory
        ///
        [TestMethod()]
        public void CreateDirectoryTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            target.CreateDirectory(path);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for Create
        ///
        [TestMethod()]
        public void CreateTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            int bufferSize = 0; // TODO: Initialize to an appropriate value
            SftpFileStream expected = null; // TODO: Initialize to an appropriate value
            SftpFileStream actual;
            actual = target.Create(path, bufferSize);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for Create
        ///
        [TestMethod()]
        public void CreateTest1()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            SftpFileStream expected = null; // TODO: Initialize to an appropriate value
            SftpFileStream actual;
            actual = target.Create(path);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for EndSynchronizeDirectories
        ///
        [TestMethod()]
        public void EndSynchronizeDirectoriesTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            IAsyncResult asyncResult = null; // TODO: Initialize to an appropriate value
            IEnumerable expected = null; // TODO: Initialize to an appropriate value
            IEnumerable actual;
            actual = target.EndSynchronizeDirectories(asyncResult);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for EndListDirectory
        ///
        [TestMethod()]
        public void EndListDirectoryTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            IAsyncResult asyncResult = null; // TODO: Initialize to an appropriate value
            IEnumerable expected = null; // TODO: Initialize to an appropriate value
            IEnumerable actual;
            actual = target.EndListDirectory(asyncResult);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for EndDownloadFile
        ///
        [TestMethod()]
        public void EndDownloadFileTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            IAsyncResult asyncResult = null; // TODO: Initialize to an appropriate value
            target.EndDownloadFile(asyncResult);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for DownloadFile
        ///
        [TestMethod()]
        public void DownloadFileTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            Stream output = null; // TODO: Initialize to an appropriate value
            Action downloadCallback = null; // TODO: Initialize to an appropriate value
            target.DownloadFile(path, output, downloadCallback);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for DeleteFile
        ///
        [TestMethod()]
        public void DeleteFileTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            target.DeleteFile(path);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for DeleteDirectory
        ///
        [TestMethod()]
        public void DeleteDirectoryTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            target.DeleteDirectory(path);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for Delete
        ///
        [TestMethod()]
        public void DeleteTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            target.Delete(path);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for GetLastAccessTimeUtc
        ///
        [TestMethod()]
        public void GetLastAccessTimeUtcTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            DateTime expected = new DateTime(); // TODO: Initialize to an appropriate value
            DateTime actual;
            actual = target.GetLastAccessTimeUtc(path);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for GetLastAccessTime
        ///
        [TestMethod()]
        public void GetLastAccessTimeTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            DateTime expected = new DateTime(); // TODO: Initialize to an appropriate value
            DateTime actual;
            actual = target.GetLastAccessTime(path);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for GetAttributes
        ///
        [TestMethod()]
        public void GetAttributesTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            SftpFileAttributes expected = null; // TODO: Initialize to an appropriate value
            SftpFileAttributes actual;
            actual = target.GetAttributes(path);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for Get
        ///
        [TestMethod()]
        public void GetTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            SftpFile expected = null; // TODO: Initialize to an appropriate value
            SftpFile actual;
            actual = target.Get(path);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for Exists
        ///
        [TestMethod()]
        public void ExistsTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            bool expected = false; // TODO: Initialize to an appropriate value
            bool actual;
            actual = target.Exists(path);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for EndUploadFile
        ///
        [TestMethod()]
        public void EndUploadFileTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            IAsyncResult asyncResult = null; // TODO: Initialize to an appropriate value
            target.EndUploadFile(asyncResult);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for GetLastWriteTimeUtc
        ///
        [TestMethod()]
        public void GetLastWriteTimeUtcTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            DateTime expected = new DateTime(); // TODO: Initialize to an appropriate value
            DateTime actual;
            actual = target.GetLastWriteTimeUtc(path);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for GetLastWriteTime
        ///
        [TestMethod()]
        public void GetLastWriteTimeTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            DateTime expected = new DateTime(); // TODO: Initialize to an appropriate value
            DateTime actual;
            actual = target.GetLastWriteTime(path);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for GetStatus
        ///
        [TestMethod()]
        public void GetStatusTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            SftpFileSytemInformation expected = null; // TODO: Initialize to an appropriate value
            SftpFileSytemInformation actual;
            actual = target.GetStatus(path);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for ListDirectory
        ///
        [TestMethod()]
        public void ListDirectoryTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            Action listCallback = null; // TODO: Initialize to an appropriate value
            IEnumerable expected = null; // TODO: Initialize to an appropriate value
            IEnumerable actual;
            actual = target.ListDirectory(path, listCallback);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for Open
        ///
        [TestMethod()]
        public void OpenTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            FileMode mode = new FileMode(); // TODO: Initialize to an appropriate value
            SftpFileStream expected = null; // TODO: Initialize to an appropriate value
            SftpFileStream actual;
            actual = target.Open(path, mode);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for Open
        ///
        [TestMethod()]
        public void OpenTest1()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            FileMode mode = new FileMode(); // TODO: Initialize to an appropriate value
            FileAccess access = new FileAccess(); // TODO: Initialize to an appropriate value
            SftpFileStream expected = null; // TODO: Initialize to an appropriate value
            SftpFileStream actual;
            actual = target.Open(path, mode, access);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for OpenRead
        ///
        [TestMethod()]
        public void OpenReadTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            SftpFileStream expected = null; // TODO: Initialize to an appropriate value
            SftpFileStream actual;
            actual = target.OpenRead(path);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for OpenText
        ///
        [TestMethod()]
        public void OpenTextTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            StreamReader expected = null; // TODO: Initialize to an appropriate value
            StreamReader actual;
            actual = target.OpenText(path);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for OpenWrite
        ///
        [TestMethod()]
        public void OpenWriteTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            SftpFileStream expected = null; // TODO: Initialize to an appropriate value
            SftpFileStream actual;
            actual = target.OpenWrite(path);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for ReadAllBytes
        ///
        [TestMethod()]
        public void ReadAllBytesTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            byte[] expected = null; // TODO: Initialize to an appropriate value
            byte[] actual;
            actual = target.ReadAllBytes(path);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for ReadAllLines
        ///
        [TestMethod()]
        public void ReadAllLinesTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            Encoding encoding = null; // TODO: Initialize to an appropriate value
            string[] expected = null; // TODO: Initialize to an appropriate value
            string[] actual;
            actual = target.ReadAllLines(path, encoding);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for ReadAllLines
        ///
        [TestMethod()]
        public void ReadAllLinesTest1()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            string[] expected = null; // TODO: Initialize to an appropriate value
            string[] actual;
            actual = target.ReadAllLines(path);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for ReadAllText
        ///
        [TestMethod()]
        public void ReadAllTextTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            Encoding encoding = null; // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            actual = target.ReadAllText(path, encoding);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for ReadAllText
        ///
        [TestMethod()]
        public void ReadAllTextTest1()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            actual = target.ReadAllText(path);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for ReadLines
        ///
        [TestMethod()]
        public void ReadLinesTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            IEnumerable expected = null; // TODO: Initialize to an appropriate value
            IEnumerable actual;
            actual = target.ReadLines(path);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for ReadLines
        ///
        [TestMethod()]
        public void ReadLinesTest1()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            Encoding encoding = null; // TODO: Initialize to an appropriate value
            IEnumerable expected = null; // TODO: Initialize to an appropriate value
            IEnumerable actual;
            actual = target.ReadLines(path, encoding);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for RenameFile
        ///
        [TestMethod()]
        public void RenameFileTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string oldPath = string.Empty; // TODO: Initialize to an appropriate value
            string newPath = string.Empty; // TODO: Initialize to an appropriate value
            target.RenameFile(oldPath, newPath);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for RenameFile
        ///
        [TestMethod()]
        public void RenameFileTest1()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string oldPath = string.Empty; // TODO: Initialize to an appropriate value
            string newPath = string.Empty; // TODO: Initialize to an appropriate value
            bool isPosix = false; // TODO: Initialize to an appropriate value
            target.RenameFile(oldPath, newPath, isPosix);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for SetAttributes
        ///
        [TestMethod()]
        public void SetAttributesTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            SftpFileAttributes fileAttributes = null; // TODO: Initialize to an appropriate value
            target.SetAttributes(path, fileAttributes);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for SetLastAccessTime
        ///
        [TestMethod()]
        public void SetLastAccessTimeTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            DateTime lastAccessTime = new DateTime(); // TODO: Initialize to an appropriate value
            target.SetLastAccessTime(path, lastAccessTime);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for SetLastAccessTimeUtc
        ///
        [TestMethod()]
        public void SetLastAccessTimeUtcTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            DateTime lastAccessTimeUtc = new DateTime(); // TODO: Initialize to an appropriate value
            target.SetLastAccessTimeUtc(path, lastAccessTimeUtc);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for SetLastWriteTime
        ///
        [TestMethod()]
        public void SetLastWriteTimeTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            DateTime lastWriteTime = new DateTime(); // TODO: Initialize to an appropriate value
            target.SetLastWriteTime(path, lastWriteTime);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for SetLastWriteTimeUtc
        ///
        [TestMethod()]
        public void SetLastWriteTimeUtcTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            DateTime lastWriteTimeUtc = new DateTime(); // TODO: Initialize to an appropriate value
            target.SetLastWriteTimeUtc(path, lastWriteTimeUtc);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for SymbolicLink
        ///
        [TestMethod()]
        public void SymbolicLinkTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            string linkPath = string.Empty; // TODO: Initialize to an appropriate value
            target.SymbolicLink(path, linkPath);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for SynchronizeDirectories
        ///
        [TestMethod()]
        public void SynchronizeDirectoriesTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string sourcePath = string.Empty; // TODO: Initialize to an appropriate value
            string destinationPath = string.Empty; // TODO: Initialize to an appropriate value
            string searchPattern = string.Empty; // TODO: Initialize to an appropriate value
            IEnumerable expected = null; // TODO: Initialize to an appropriate value
            IEnumerable actual;
            actual = target.SynchronizeDirectories(sourcePath, destinationPath, searchPattern);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for UploadFile
        ///
        [TestMethod()]
        public void UploadFileTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            Stream input = null; // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            Action uploadCallback = null; // TODO: Initialize to an appropriate value
            target.UploadFile(input, path, uploadCallback);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for UploadFile
        ///
        [TestMethod()]
        public void UploadFileTest1()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            Stream input = null; // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            bool canOverride = false; // TODO: Initialize to an appropriate value
            Action uploadCallback = null; // TODO: Initialize to an appropriate value
            target.UploadFile(input, path, canOverride, uploadCallback);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for WriteAllBytes
        ///
        [TestMethod()]
        public void WriteAllBytesTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            byte[] bytes = null; // TODO: Initialize to an appropriate value
            target.WriteAllBytes(path, bytes);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for WriteAllLines
        ///
        [TestMethod()]
        public void WriteAllLinesTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            IEnumerable contents = null; // TODO: Initialize to an appropriate value
            target.WriteAllLines(path, contents);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for WriteAllLines
        ///
        [TestMethod()]
        public void WriteAllLinesTest1()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            string[] contents = null; // TODO: Initialize to an appropriate value
            target.WriteAllLines(path, contents);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for WriteAllLines
        ///
        [TestMethod()]
        public void WriteAllLinesTest2()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            IEnumerable contents = null; // TODO: Initialize to an appropriate value
            Encoding encoding = null; // TODO: Initialize to an appropriate value
            target.WriteAllLines(path, contents, encoding);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for WriteAllLines
        ///
        [TestMethod()]
        public void WriteAllLinesTest3()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            string[] contents = null; // TODO: Initialize to an appropriate value
            Encoding encoding = null; // TODO: Initialize to an appropriate value
            target.WriteAllLines(path, contents, encoding);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for WriteAllText
        ///
        [TestMethod()]
        public void WriteAllTextTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            string contents = string.Empty; // TODO: Initialize to an appropriate value
            target.WriteAllText(path, contents);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for WriteAllText
        ///
        [TestMethod()]
        public void WriteAllTextTest1()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string path = string.Empty; // TODO: Initialize to an appropriate value
            string contents = string.Empty; // TODO: Initialize to an appropriate value
            Encoding encoding = null; // TODO: Initialize to an appropriate value
            target.WriteAllText(path, contents, encoding);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        /// 
        ///A test for BufferSize
        ///
        [TestMethod()]
        public void BufferSizeTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            uint expected = 0; // TODO: Initialize to an appropriate value
            uint actual;
            target.BufferSize = expected;
            actual = target.BufferSize;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for OperationTimeout
        ///
        [TestMethod()]
        public void OperationTimeoutTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            TimeSpan expected = new TimeSpan(); // TODO: Initialize to an appropriate value
            TimeSpan actual;
            target.OperationTimeout = expected;
            actual = target.OperationTimeout;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        /// 
        ///A test for WorkingDirectory
        ///
        [TestMethod()]
        public void WorkingDirectoryTest()
        {
            ConnectionInfo connectionInfo = null; // TODO: Initialize to an appropriate value
            SftpClient target = new SftpClient(connectionInfo); // TODO: Initialize to an appropriate value
            string actual;
            actual = target.WorkingDirectory;
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        protected override void OnInit()
        {
            base.OnInit();
            using (var client = new SshClient(Resources.HOST, Resources.USERNAME, Resources.PASSWORD))
            {
                client.Connect();
                client.RunCommand("rm -rf *");
                client.Disconnect();
            }
        }
        protected static string CalculateMD5(string fileName)
        {
            using (FileStream file = new FileStream(fileName, FileMode.Open))
            {
                MD5 md5 = new MD5CryptoServiceProvider();
                byte[] retVal = md5.ComputeHash(file);
                file.Close();
                StringBuilder sb = new StringBuilder();
                for (int i = 0; i < retVal.Length; i++)
                {
                    sb.Append(retVal[i].ToString("x2"));
                }
                return sb.ToString();
            }
        }
        /// 
        /// Helper class to help with upload and download testing
        /// 
        private class TestInfo
        {
            public string RemoteFileName { get; set; }
            public string UploadedFileName { get; set; }
            public string DownloadedFileName { get; set; }
            //public ulong UploadedBytes { get; set; }
            //public ulong DownloadedBytes { get; set; }
            public FileStream UploadedFile { get; set; }
            public FileStream DownloadedFile { get; set; }
            public string UploadedHash { get; set; }
            public string DownloadedHash { get; set; }
            public SftpUploadAsyncResult UploadResult { get; set; }
            public SftpDownloadAsyncResult DownloadResult { get; set; }
        }
    }
}