public void Dispose_deletes_directory_and_all_within()
        {
            DirectoryInfo dir;

            using (var cache = new ThumbnailCache())
            {
                dir = cache.CacheDirectory;
            }

            dir.Refresh();
            Assert.IsFalse(dir.Exists);
        }
 public void Setup()
 {
     cache = new ThumbnailCache();
 }
 public ThumbnailGenerator()
 {
     Options = new ThumbnailOptions {Width = DefaultWidth, Height = DefaultHeight};
     Cache = new ThumbnailCache();
 }