Example #1
0
        protected void DirectoryMustExistsCore()
        {
            string methodName   = GetCurrentMethod();
            string remoteFolder = Path.Combine(MockData.SftpDataFolder, methodName);

            if (Directory.Exists(remoteFolder))
            {
                Directory.Delete(remoteFolder);
            }
            string actualFolderPath = Utils.CreateDummyDirectory(remoteFolder, cleanFolder: false);

            Assert.True(SftpClient.DirectoryExists(methodName));
        }