Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for expectMessage (0.06 sec)

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

         * .
         */
        @Test
        public void testArrayIteratorRemoveException() {
            exception.expect(ClIllegalStateException.class);
            exception.expectMessage(is("last == -1"));
            ArrayMap<String, String> m = new ArrayMap<String, String>();
            Iterator<Map.Entry<String, String>> i = m.entrySet().iterator();
            i.remove();
        }
    
        /**
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            exception.expect(NullArgumentException.class);
            exception.expectMessage(is("[ECL0008]argument[src] is null."));
            BeanUtil.copyMapToBean(null, new Object());
        }
    
        /**
         *
         */
        @Test
        public void testCopyBeanToMap_DestNull() {
            exception.expect(NullArgumentException.class);
            exception.expectMessage(is("[ECL0008]argument[dest] is null."));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top