public void FileSystemStorageRemoveDeletesGivenFile()
        {
            using (var redisStorage = new RedisStorage(Host))
            {
                var storage = new BluepathStorage(redisStorage, eraseContents: true);
                storage.Store("a", "aa");
                storage.Store("b", "bb");
                var fileToRemove = storage.ListFiles().First(u => u.OriginalString.Contains("a"));

                storage.Remove(fileToRemove);

                var noOfFiles = storage.ListFiles().Count();
                noOfFiles.ShouldBe(1);
                storage.ListFiles().First().OriginalString.ShouldContain("b");
            }
        }
        public void FileSystemStoragCleanMethodDeletesAllFiles()
        {
            using (var redisStorage = new RedisStorage(Host))
            {
                var storage = new BluepathStorage(redisStorage, eraseContents: true);
                storage.Store("a", "aa");
                storage.Store("b", "bb");

                var noOfFiles1 = storage.ListFiles().Count();
                noOfFiles1.ShouldBe(2);

                storage.Clean();
                var noOfFiles2 = storage.ListFiles().Count();

                noOfFiles2.ShouldBe(0);
            }
        }