public void ChangedFeedUpdatesCachedObj()
{
var example = "hillside";
var feedurl = BlobStorage.MakeAzureBlobUri("admin", example + ".ics", false).ToString();
Utils.PurgeFeedCacheForHub(calinfo_berkeley.id);
AfternoonTeaAt3PMLocal(); // process the hillside example once to make sure ics and obj cached
Assert.That(CachedIcsNonempty(feedurl)); // cached ics exists, not empty
Assert.That(CachedObjNonempty(feedurl)); // cached obj exists, not empty
var obj_blob_name = Utils.MakeCachedFeedObjName(calinfo_berkeley.id, feedurl);
var blob_props = bs.GetBlobProperties("feedcache", obj_blob_name);
var old_last_mod = blob_props.HttpResponse.headers["Last-Modified"];
AlterIcs(example, "Afternoon Tea", "Afternoon Coffee"); // now alter the ics
Assert.That(_AfternoonTeaAt3PMLocal()); // process again, using the test that expects the change
blob_props = bs.GetBlobProperties("feedcache", obj_blob_name);
var new_last_mod = blob_props.HttpResponse.headers["Last-Modified"];
Assert.That(old_last_mod != new_last_mod); // cached obj should differ
UpdateYYYY(example, "ics"); // restore the original ics
}