private static ZipEntry GetZipEntry(ZipFile zip, string path)
{
var entry = zip.GetEntry(path);
Assert.That(entry, Is.Not.Null, "Should have found entry at " + path);
Assert.That(entry.Name, Is.EqualTo(path), "Expected entry has wrong case");
return entry;
}