@Test
public void getClassNameAsResource() {

    assertNull(ClassUtil.getClassNameAsResource(""));
    assertNull(ClassUtil.getClassNameAsResource(null));
    assertEquals("java/lang/String.class", ClassUtil.getClassNameAsResource("java.lang.String"));
    assertEquals("xxx/yyy/zzz.class", ClassUtil.getClassNameAsResource("xxx.yyy.zzz"));
}