### Question:
CustomPageDependenciesResolver { public Map<String, byte[]> resolveCustomPageDependencies() { final File customPageLibDirectory = new File(pageDirectory, LIB_FOLDER_NAME); if (customPageLibDirectory.exists()) { this.libTempFolder = new File(this.webBonitaConstantsUtils.getTempFolder(), pageName + Long.toString(new Date().getTime())); if (!this.libTempFolder.exists()) { this.libTempFolder.mkdirs(); } removePageLibTempFolder(pageName); PAGES_LIB_TMPDIR.put(pageName, this.libTempFolder); return loadLibraries(customPageLibDirectory); } return Collections.emptyMap(); } CustomPageDependenciesResolver(final String pageName,
            final File pageDirectory,
            final WebBonitaConstantsUtils webBonitaConstantsUtils); Map<String, byte[]> resolveCustomPageDependencies(); static File removePageLibTempFolder(final String pageName); File getTempFolder();  }### Answer:
@Test public void should_resolve_dependencies_return_an_empty_map_if_no_lib_folder_is_found_in_custom_page() throws Exception { final CustomPageDependenciesResolver resolver = newCustomPageDependenciesResolver(null); final Map<String, byte[]> dependenciesContent = resolver.resolveCustomPageDependencies(); assertThat(dependenciesContent).isEmpty(); }