public void HtmlGetAttachmentsFromPdfTest() { var file = TestFiles.WithAttachmentPdf; var request = new HtmlGetAttachmentsRequest { FileName = file.FileName, Folder = file.Folder, Storage = null }; var response = ViewerApi.HtmlGetAttachments(request); Assert.AreEqual(1, response.Attachments.Count); Assert.AreEqual("password-protected.docx", response.Attachments[0].Name); }