Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for unwrap_success_and_failure (0.09 seconds)

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

            spyHandle.send(b, 2, 4);
            verify(mockOut).writeDirect(eq(b), eq(2), eq(4), eq(1));
        }
    
        @Test
        @DisplayName("unwrap returns this for compatible types and throws otherwise")
        void unwrap_success_and_failure() {
            SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\z");
    
            // Happy path: unwrap to interface and concrete type
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 16.7K bytes
    - Click Count (0)
Back to Top