Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for allowsNullBuffer (0.1 seconds)

  1. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

                assertArrayEquals(original, buffer, "Buffer must remain unchanged");
            }
    
            @Test
            @DisplayName("Handles null destination without throwing and returns 0")
            void allowsNullBuffer() {
                // Arrange
                Smb2LogoffResponse resp = newResponse();
    
                // Act & Assert
                assertEquals(0, resp.writeBytesWireFormat(null, 0), "Should return 0 even with null buffer");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.7K bytes
    - Click Count (0)
Back to Top