Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testGet_NotContains (0.23 sec)

  1. src/test/java/org/codelibs/core/beans/util/BeanMapTest.java

            map.put("aaa", 1);
            map.put("bbb", 2);
            assertThat(map.get("aaa"), is((Object) 1));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGet_NotContains() throws Exception {
            exception.expect(IllegalKeyOfBeanMapException.class);
            exception.expectMessage(is("[ECL0016]key[xxx] is not included in this BeanMap : {aaa=1, bbb=2}."));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top