- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testCloseThrowsCIFSException (0.1 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (1)