GetAttachment() private method

private GetAttachment ( long id ) : Api.Models.Attachment
id long
return Api.Models.Attachment
Example #1
0
        public virtual void TestGetAttachment()
        {
            server.setResponseBody("../../../TestSDK/resources/getAttachment.json");

            Attachment attachment = attachmentResourcesImpl.GetAttachment(1234L);

            Assert.NotNull(attachment.Url);
            Assert.AreEqual("AbstractResources.mup", attachment.Name);
        }