- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testClose_idempotency (0.1 seconds)
-
src/test/java/jcifs/SmbTreeTest.java
} /** * Test for close() idempotency. * Verifies that calling close multiple times has the same effect as calling it once. */ @Test void testClose_idempotency() { // Mock a tree that tracks close state SmbTree idempotentTree = mock(SmbTree.class); doNothing().when(idempotentTree).close(); // Close multiple timesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.2K bytes - Click Count (0)