Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ensureOpen_whenClosed_throws (0.09 sec)

  1. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

        }
    
        @Test
        @DisplayName("ensureOpen throws when handle already closed")
        void ensureOpen_whenClosed_throws() throws Exception {
            SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\bar");
            handle.close();
            SmbException ex = assertThrows(SmbException.class, handle::ensureOpen);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
Back to top