Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for unwrap_success_and_failure (0.23 sec)

  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
    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