void RenameFile_Success()
        {
            var createdFile   = CreateFolder();
            var renameRequest = new RenameNodeDto
            {
                OldName = createdFile.Name,
                NewName = "My Movie.mp4"
            };

            fileManager.Rename(renameRequest.OldName, renameRequest.NewName);
            var file = fileManager.GetNodeInfo(renameRequest.NewName);

            Assert.NotNull(file);
            Assert.Equal(renameRequest.NewName, file.Name);
        }
        void RenameFolder_Success()
        {
            var createdFolder = CreateFolder();
            var renameRequest = new RenameNodeDto
            {
                OldName = createdFolder.Name,
                NewName = "Music Folder"
            };

            fileManager.Rename(renameRequest.OldName, renameRequest.NewName);
            var folder = fileManager.GetNodeInfo(renameRequest.NewName);

            Assert.NotNull(folder);
            Assert.Equal(renameRequest.NewName, folder.Name);
        }