Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testMockWithNullStringName (0.82 sec)

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

                assertArrayEquals(nameStr.getBytes(StandardCharsets.UTF_8), mock.getName());
            }
    
            @Test
            @DisplayName("Should handle null string name")
            void testMockWithNullStringName() {
                MockCreateContextResponse mock = new MockCreateContextResponse(null);
                assertEquals(null, mock.getName());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                assertEquals(32, mock.size());
            }
    
            @Test
            @DisplayName("Should handle null string name")
            void testMockWithNullStringName() {
                MockCreateContextRequest mock = new MockCreateContextRequest(null);
                assertNull(mock.getName());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top