String (Test test) { if (test instanceof Describable) { Description description = ((Describable)test).getDescription(); String name = getClassName(description); if (name != null) return name; } return test.getClass().getName(); }