Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCopy_mapToNewBean (0.25 sec)

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

            assertThat(dest2.get("aaa"), is((Object) "aaa"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCopy_mapToNewBean() throws Exception {
            final BeanMap src = new BeanMap();
            src.put("aaa", "aaa");
            final MyBean dest = BeanUtil.copyMapToNewBean(src, MyBean.class);
            assertThat(dest.aaa, is("aaa"));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 34.5K bytes
    - Viewed (0)
Back to top