public void TestRejectAllRevisions()
        {
            var localName    = "test_multi_pages.docx";
            var remoteName   = "TestRejectAllRevisions.docx";
            var fullName     = Path.Combine(this.dataFolder, remoteName);
            var destFileName = Path.Combine(BaseTestOutPath, remoteName);

            this.StorageApi.PutCreate(fullName, null, null, File.ReadAllBytes(BaseTestContext.GetDataDir(BaseTestContext.CommonFolder) + localName));

            var request = new RejectAllRevisionsRequest(remoteName, this.dataFolder, destFileName: destFileName);
            var actual  = this.WordsApi.RejectAllRevisions(request);

            Assert.AreEqual(200, actual.Code);
        }
        public void TestRejectAllRevisions()
        {
            string remoteFileName = "TestRejectAllRevisions.docx";

            this.UploadFileToStorage(
                remoteDataFolder + "/" + remoteFileName,
                null,
                null,
                File.ReadAllBytes(LocalTestDataFolder + localFile)
                );

            var request = new RejectAllRevisionsRequest(
                name: remoteFileName,
                folder: remoteDataFolder,
                destFileName: BaseTestOutPath + "/" + remoteFileName
                );
            var actual = this.WordsApi.RejectAllRevisions(request);

            Assert.NotNull(actual.Result);
            Assert.NotNull(actual.Result.Dest);
        }