for (Map.Entry<ScannerType, Collection<String>> entry : FolderMappings.getEntries()) {
Calendar mostRecent = null;
for (String file : entry.getValue()) {
try {
ScanCheckResultBean returnBean =
threadFixBridge.testScan(entry.getKey(), new File(file));
assertTrue("Got null return bean while testing " + file, returnBean != null);
assertTrue("Response status wasn't success for file " + file + ", it was " +
returnBean.getScanCheckResult(),
returnBean.getScanCheckResult() == ScanImportStatus.SUCCESSFUL_SCAN);