in src/main/java/platform/qa/base/convertors/ContextConvertor.java [51:62]
public static List<File> convertToFileList(Object context) {
List<File> convertedContext = new ArrayList<>();
if (context instanceof File) {
convertedContext.add((File) context);
}
if (context instanceof List<?>) {
convertedContext = ((List<?>) context).stream()
.map(item -> (File) item)
.collect(Collectors.toList());
}
return convertedContext;
}