public void RenameDirectoryTest()
        {
            using (IStorage storage = new StorageTest())
              {
            var basePath = storage.BasePath + "RenameDirectoryTest/";

            Directory.CreateDirectory(basePath);

            Directory.CreateDirectory(basePath + "Folder1/F2/F3");

            var file1 = File.Create(basePath + "Folder1/F2/F3/file1.txt");
            file1.Close();
            var file2 = File.Create(basePath + "Folder1/F2/file2.bin");
            file2.Close();

            storage.RenameDirectory("RenameDirectoryTest/Folder1/F2", "renamed2");

            Assert.IsTrue(Directory.Exists(basePath + "Folder1/renamed2"));
            Assert.IsTrue(Directory.Exists(basePath + "Folder1/renamed2/F3"));
            Assert.IsTrue(File.Exists(basePath + "Folder1/renamed2/file2.bin"));
            Assert.IsTrue(File.Exists(basePath + "Folder1/renamed2/F3/file1.txt"));
              }
        }