Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testDecodeWithNegativeIndex (0.12 seconds)

  1. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                        "Should throw exception for null buffer");
            }
    
            @Test
            @DisplayName("Should throw exception on negative buffer index")
            void testDecodeWithNegativeIndex() {
                assertThrows(SMBProtocolDecodingException.class, () -> testResponse.decode(testBuffer, -1, 10),
                        "Should throw exception for negative buffer index");
            }
    
            @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.2K bytes
    - Click Count (0)
Back to Top