if (dataLoader == null) {
Assert.fail("The framework currently does not support the specified Loader type. "
+ "You can provide the custom Loader by choosing LoaderType.CUSTOM in TestData "
+ "annotation and providing your custom loader using DataLoader annotation.");
}
dataFiles = loaderAnnotation.filePaths();
} else {
dataLoader = null;
}
return new RunAftersWithOutputData(statement, afters, null, dataLoader, dataFiles, writableData);