Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testGetString_withNullValue (0.09 seconds)

  1. src/test/java/org/codelibs/fess/suggest/util/MapValueExtractorTest.java

            Map<String, Object> map = new HashMap<>();
            map.put("key", "value");
    
            assertEquals("value", MapValueExtractor.getString(map, "key"));
        }
    
        @Test
        public void testGetString_withNullValue() {
            Map<String, Object> map = new HashMap<>();
            map.put("key", null);
    
            assertNull(MapValueExtractor.getString(map, "key"));
        }
    
        @Test
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 6.4K bytes
    - Click Count (0)
Back to Top