public void TestWriteAutoFilter(){ Assert.IsFalse(sheet.IsAutoFilterLocked()); sheet.LockAutoFilter(); Assert.IsFalse(sheet.IsAutoFilterLocked()); sheet.EnableLocking(); Assert.IsTrue(sheet.IsAutoFilterLocked()); sheet.LockAutoFilter(false); Assert.IsFalse(sheet.IsAutoFilterLocked()); }