- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testCloseThrowsCIFSException (0.88 sec)
-
src/test/java/jcifs/SmbWatchHandleTest.java
// Verify close was called verify(watchHandle, times(1)).close(); } /** * Test close() method throwing CIFSException */ @Test void testCloseThrowsCIFSException() throws CIFSException { // Setup mock behavior CIFSException expectedException = new CIFSException("Failed to close handle"); doThrow(expectedException).when(watchHandle).close();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0)