Utils { public static File getImagesSubdirectory(final String subdirectoryName) { final File baseImagesDirectory = getBaseImagesDirectory(); log.info("baseImagesDirectory : {}", baseImagesDirectory); log.info("subdirectoryName : {}", subdirectoryName); return new File(baseImagesDirectory, subdirectoryName); }  static InputStream getInputStream(final String resource); static String getFilesFolder(); static File getBaseImagesDirectory(); static File getImagesSubdirectory(final String subdirectoryName); static String convertWindowsPath(String path); static boolean isWindows(); static void logSystemProperties();  }
@Test void shouldGetImagesSubdirectory() { assertEquals( new File(localDataFolder + "/images", "subdirectory"), Utils.getImagesSubdirectory("subdirectory") ); }