private static List<Class<?>> getSuperClasses(Class<?> testClass) {
	ArrayList<Class<?>> results = new ArrayList<Class<?>>();
	Class<?> current = testClass;
	while (current != null) {
	    results.add(current);
	    current = current.getSuperclass();
	}
	return results;
    }