code: public static String extractSimpleClassName(Description description) {
          String simpleClassName = null;
          final String className = extractClassName(description);
          final String[] splitClassName = className.split("\\.");
  
          if (splitClassName.length > 0) {
              simpleClassName = splitClassName[splitClassName.length - 1];
          }
  
          return simpleClassName;
      }
docs: Extract the simple class name from a given junit test description
  
  @param description
  @return a simple class name