Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testCloseThrowsCIFSException (0.45 seconds)

  1. 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)
Back to Top