public void DirectoryIsCreatedAndCanBeRemoved()
        {
            var dc = new DirectoryCreator();

            Assert.NotNull(dc.DirectoryName);
            Assert.True(Directory.Exists(dc.DirectoryName));

            dc.Dispose();
            Assert.False(Directory.Exists(dc.DirectoryName));
        }
示例#2
0
 public void Dispose()
 {
     dc.Dispose();
 }
示例#3
0
 public void Dispose()
 {
     directoryCreator.Dispose();
 }