public async Task UploadDataTest()
        {
            Mac         mac       = new Mac(AccessKey, SecretKey);
            StorageFile localFile = await StorageFile.GetFileFromPathAsync(LocalFile2);

            byte[] data = await ResumableUploader.ReadToByteArrayAsync(localFile);

            string key = FileKey2;

            PutPolicy putPolicy = new PutPolicy();

            putPolicy.Scope = Bucket1 + ":" + key;
            putPolicy.SetExpires(3600);
            putPolicy.DeleteAfterDays = 1;
            string token = Auth.CreateUploadToken(mac, putPolicy.ToJsonString());

            ResumableUploader target = new ResumableUploader();
            HttpResult        result = await target.UploadDataAsync(data, key, token, null);

            Assert.AreEqual((int)HttpCode.OK, result.Code);
        }