try { ClassUtils.getShortClassName((String) null); fail(); } catch (IllegalArgumentException ex) {} try { ClassUtils.getShortClassName(""); fail(); } catch (IllegalArgumentException ex) {}
assertEquals("", ClassUtils.getShortClassName((String) null)); assertEquals("", ClassUtils.getShortClassName(""));
    public void test_getShortClassName_String() {        assertEquals("ClassUtils", ClassUtils.getShortClassName(ClassUtils.class.getName()));        assertEquals("Map.Entry", ClassUtils.getShortClassName(Map.Entry.class.getName()));        try {            ClassUtils.getShortClassName((String) null);            fail();        } catch (IllegalArgumentException ex) {}        try {            ClassUtils.getShortClassName("");            fail();        } catch (IllegalArgumentException ex) {}    }