- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testGetByNameWithNonExistentFile (0.18 seconds)
-
src/test/java/jcifs/netbios/LmhostsTest.java
when(mockConfig.getLmHostsFileName()).thenReturn(null); NbtAddress result = lmhosts.getByName("TEST_HOST", mockContext); assertNull(result); } @Test void testGetByNameWithNonExistentFile() { // Test with non-existent file when(mockConfig.getLmHostsFileName()).thenReturn("/non/existent/lmhosts"); NbtAddress result = lmhosts.getByName("TEST_HOST", mockContext);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.2K bytes - Click Count (0)