### Question:
ClassUtil { public static String getSimpleName(String binaryName) { assertNotNull(binaryName); String packageExcludedName = getLastPart(binaryName, '.'); return getLastPart(packageExcludedName, '$'); }  static T newInstance(Class<T> clazz); static Constructor<T> getConstructor(Class<T> clazz, Class<?>... parameterTypes); static Method getMethod(Class<T> clazz, String name, Class<?>... parameterTypes); static Method getDeclaredMethod(
      Class<T> clazz, String name, Class<?>... parameterTypes); static Field getDeclaredField(Class<T> clazz, String name); static String getPackageName(String binaryName); static List<String> getEnclosingNames(String binaryName); static String getSimpleName(String binaryName); static Class<?> toBoxedPrimitiveTypeIfPossible(Class<?> clazz); static R traverse(Class<?> clazz, Function<Class<?>, R> f);  }### Answer:
@Test public void testGetSimpleName() { String name = ClassUtil.getSimpleName("aaa.bbb.Ccc"); assertEquals("Ccc", name); }
@Test public void testGetSimpleName_noPackage() { String name = ClassUtil.getSimpleName("Aaa"); assertEquals("Aaa", name); }
@Test public void testGetSimpleName_nestedClass() { String name = ClassUtil.getSimpleName("aaa.bbb.Ccc$Ddd$Eee"); assertEquals("Eee", name); }