Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testMockDecode (0.23 seconds)

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

                assertEquals(null, mock.getName());
            }
    
            @Test
            @DisplayName("Should return zero from decode")
            void testMockDecode() throws SMBProtocolDecodingException {
                MockCreateContextResponse mock = new MockCreateContextResponse("TEST");
                byte[] buffer = new byte[100];
    
                int result = mock.decode(buffer, 0, 50);
    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