Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testContainsKey (0.07 sec)

  1. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

        /**
         * @throws Exception
         */
        @After
        public void tearDown() throws Exception {
            map = null;
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testContainsKey() throws Exception {
            assertThat(map.containsKey("ONE"), is(true));
            assertThat(map.containsKey("one"), is(true));
            assertThat(map.containsKey("onex"), is(not(true)));
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            assertThat(map.containsValue("test2"), is(true));
            assertThat(map.containsValue("test3"), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testContainsKey() throws Exception {
            assertThat(map.containsKey("2"), is(true));
            assertThat(map.containsKey("3"), is(not(true)));
            map.put("3", null);
            assertThat(map.containsKey("3"), is(true));
        }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
Back to top