### Question:
StringUtils { public static String getClassName(final Object object) { final Class<?> clasz = object.getClass(); String name = clasz.getSimpleName(); if (name != null && !name.isEmpty()) { return name; } else { name = clasz.getName(); final int pos = name.lastIndexOf('.'); if (pos < 0) { return name; } return name.substring(pos + 1); } } private  StringUtils(); static byte[] getRandom(final int length); static byte[] getBytesFromArraysToString(final String bytesString); static String getClassName(final Object object); static final ThreadLocalRandom RANDOM; static final String LINE_SEP; }### Answer:
@Test public void testGetClassName() { StringUtilsTest test = new StringUtilsTest(); String name = StringUtils.getClassName(test); assertNotEquals(test.getClass().getName(), name); assertEquals(test.getClass().getSimpleName(), name); }