private List<Method> getTestMethods(Class suiteClass, String group) {
List<Method> testMethods = new ArrayList<Method>();
Method[] methods = suiteClass.getMethods();
for (Method method : methods) {
Test test = method.getAnnotation(Test.class);
if ((test != null) && (ArrayUtils.contains(test.groups(), group)))
testMethods.add(method);
}
List<Method> testMethodsSorted = new ArrayList<Method>(testMethods.size());
Method parentMethod = null;
while ((parentMethod = getMethod(parentMethod, testMethods)) != null) {