public void HtmlGetDocumentInfoFromContentTest()
        {
            var file = TestFiles.PasswordProtectedDocx;
            var documentInfoOptions = new DocumentInfoOptions
            {
                Password = file.Password
            };

            var request = new HtmlGetDocumentInfoFromContentRequest
            {
                DocumentInfoOptions = this.SerializeObject(documentInfoOptions),
                File     = this.GetTestFileStream(file),
                FileName = null,
                Folder   = FromContentFolder,
                Storage  = null
            };

            var response = ViewerApi.HtmlGetDocumentInfoFromContent(request);

            Assert.AreEqual(".docx", response.Extension);
            Assert.AreEqual(1, response.Pages.Count);
        }