### Question:
FileGroupReader { Map<String, String> loadFilesFromClasspath() { synchronized (FileGroupReader.class) { try { try (ScriptPath scriptPath = getScriptPath()) { return loadContents(scriptPath.getScriptsDir()); } } catch (Exception e) { LOGGER.warning(MessageKeys.EXCEPTION, e); throw new RuntimeException(e); } } } FileGroupReader(String pathToGroup);   }### Answer:
@Test public void afterLoadScriptsFromClasspath_haveScriptNamesAsKeys() { Map<String, String> scripts = scriptReader.loadFilesFromClasspath(); assertThat(scripts.keySet(), containsInAnyOrder(SCRIPT_NAMES)); }