CheckContentResolver resolver = new CheckContentResolver(checkSystem);
for (Check check : checkSystemChecks) {
// Determine which check content to use
for (CheckContentRef contentRef : check.getContent()) {
AssessmentFile assessmentFile = resolver.resolve(check, contentRef);
if (assessmentFile != null) {
// Parse check content out to their respective assessment content files
assessmentFile.addResolvedCheck(new ResolvedCheck(check, contentRef));
break;
}
}
}
return resolver.getAssessmentFiles();