@Test
public void classLocation() {

    File file = new File(RuntimeUtil.classLocation());
    String classLocation = file.getAbsolutePath();
    file = new File(ClassLoaderUtil.getClasspath());
    String classpath = file.getAbsolutePath();
    String target = StringUtil.substringBeforeLast(classpath, File.separator);
    assertEquals(target + File.separator + "classes", classLocation);
    assertNull(RuntimeUtil.classLocation(null));
    assertEquals("java.lang.String", RuntimeUtil.classLocation(String.class));
    // logger.info(RuntimeUtil.classLocation(String.class));
    logger.info(RuntimeUtil.classLocation(StringUtil.class));
}