public void Test_CanUploadRetrieveDeleteBinaryBlob() { var storage = new BlobStorage(account, _containerName); Assert.IsTrue(storage.Create()); byte[] dataContent = new byte[] { 1, 2, 3 }; const string fileName = "test.bin"; Assert.IsTrue(storage.UploadBinary(fileName, dataContent, "binary/binary")); byte[] content = storage.DownloadBinary(fileName); for (int i = 0; i < 3; i++) { Assert.AreEqual(dataContent[i], content[i]); } Assert.IsTrue(storage.Delete(fileName)); Assert.IsTrue(storage.Delete()); }