Пример #1
0
        public void Get_SuccessfullyGetAttachment()
        {
            // Act
            var data = _attachmentClient.Get(DocumentId, AttachmentDocumentType.IssuedInvoice).AssertResult();

            // Assert
            var first = data.FirstOrDefault();

            Assert.NotNull(first);
            Assert.NotNull(first.FileBytes);
            Assert.AreEqual(FileName, first.FileName);
        }