Пример #1
0
        public void CreatePositive(string targetDirectory)
        {
            var created = DirectoryCreator.CreateWithTimeMark(targetDirectory);

            _directory = targetDirectory;
            Assert.IsTrue(Directory.Exists(created), "Directory doesn't exist");
        }
Пример #2
0
 public void CreateNegative(string targetDirectory)
 {
     Assert.That(() => { DirectoryCreator.CreateWithTimeMark(targetDirectory); },
                 Throws.Exception);
 }