Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for send_nullVarargsArray_throws (0.65 sec)

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

            verify(tree).send((Request<CommonServerMessageBlockResponse>) isNull());
        }
    
        @Test
        @DisplayName("send with explicit null varargs propagates exception from implementation")
        void send_nullVarargsArray_throws() throws Exception {
            // Arrange: passing explicit null vararg array is edge scenario
            when(tree.send(eq(request), isNull())).thenThrow(new CIFSException("null params"));
    
            // Act + Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top