5556575859606162636465
workbook.lockStructure(); assertTrue(workbook.isStructureLocked()); workbook.unLockStructure(); assertFalse(workbook.isStructureLocked()); } public void testShouldWriteWindowsLock() throws Exception {
5657585960616263646566
108109110111112113114115116117118
workbook.lockStructure(); assertTrue(workbook.isStructureLocked()); workbook.unLockStructure(); assertFalse(workbook.isStructureLocked()); } @Test