private static void AssertPreSignedUrl(string url)
{
// download using the PreSigned URL in a totally independent WebClient
byte[] mp3;
using (var webClient = new WebClient())
{
mp3 = webClient.DownloadData(url);
}
// make sure there are no exceptions, and that there's something there
Assert.IsNotNull(mp3);
Assert.IsTrue(mp3.Length > 0);
}