- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testGetByNameWithNull (0.52 sec)
-
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
assertEquals("0.0.0.0", unknownName.getName(), "Unknown name should be 0.0.0.0"); } @Test @DisplayName("Should handle null hostname in getByName") void testGetByNameWithNull() { // When/Then assertThrows(UnknownHostException.class, () -> { nameServiceClient.getByName(null); }, "Should throw UnknownHostException for null hostname"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0)