ListAttachments() private method

private ListAttachments ( long objectId ) : IList
objectId long
return IList
Example #1
0
        public virtual void TestListAttachments()
        {
            server.setResponseBody("../../../TestSDK/resources/listAssociatedAttachments.json");

            IList <Attachment> attachments = associatedAttachment.ListAttachments(1234L);

            Assert.True(attachments.Count == 4);
            Assert.True(attachments[0].SizeInKb == 102400);
        }