public void TestGetHeadersFooters()
        {
            var localName  = "HeadersFooters.doc";
            var remoteName = "TestGetHeadersFooters.docx";
            var fullName   = Path.Combine(this.dataFolder, remoteName);

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

            var request = new GetHeaderFootersRequest(remoteName, this.dataFolder);
            var actual  = this.WordsApi.GetHeaderFooters(request);

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

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

            var request = new GetHeaderFootersRequest(
                name: remoteFileName,
                sectionPath: "",
                folder: remoteDataFolder
                );
            var actual = this.WordsApi.GetHeaderFooters(request);

            Assert.NotNull(actual.HeaderFooters);
            Assert.NotNull(actual.HeaderFooters.List);
            Assert.AreEqual(6, actual.HeaderFooters.List.Count);
        }