* @return
*/
public static String[] autoFindClassWhen(Class testClazz) {
DbFit dbFit = AnnotationUtils.getClassLevelAnnotation(DbFit.class, testClazz);
List<String> whens = getFiles(dbFit == null ? null : dbFit.when());
if (dbFit != null && dbFit.auto() == AUTO.UN_AUTO) {
return whens.toArray(new String[0]);
} else {
String wiki = String.format(CLAZZ_WHEN_WIKI, testClazz.getSimpleName());
if (whens.contains(wiki) == false && ResourceHelper.isResourceExists(testClazz, wiki)) {
whens.add(wiki);