Exemplo n.º 1
0
        protected void MustMakeDirCore()
        {
            string methodName   = GetCurrentMethod();
            string remoteFolder = Path.Combine(MockData.SftpDataFolder, methodName);

            if (Directory.Exists(remoteFolder))
            {
                Directory.Delete(remoteFolder);
            }
            SftpClient.MakeDir(methodName);
            Assert.True(Directory.Exists(remoteFolder));
        }