public void TestAppendObject() { var appendRequest = (AppendObjectRequest) new AppendObjectRequest() .WithBucketName(bucket.BucketName) .WithKey(this.objKey) .WithContentBody(ObjectContent_Delta); using (var appendResponse = client.AppendObject(appendRequest)) { Assert.AreEqual(Encoding.UTF8.GetByteCount(ObjectContent_Before), appendResponse.AppendOffset); } // check content var getRequest = new GetObjectRequest() .WithBucketName(bucket.BucketName) .WithKey(this.objKey); using (var getResponse = client.GetObject(getRequest)) { string contentBody = getResponse.GetResponseContentBody(); Assert.AreEqual(ObjectContent_After, contentBody); } }