### Question:
ExpandableUrl { static String expandEnvVars(String path){ String pluginDir = unifySlashes(Directories.getXdgJrdBaseDir()); String homeDir = unifySlashes(System.getProperty("user.home")); String jrdDir = unifySlashes(getJrdLocation()); path = path.replace("${JRD}", jrdDir); path = path.replace("${XDG_CONFIG_HOME}", pluginDir); path = path.replace("${HOME}", homeDir); return path; } private  ExpandableUrl(String s); static ExpandableUrl createFromPath(String path); static ExpandableUrl createFromStringUrl(String url); static String unifySlashes(String dir); static boolean isOsWindows(); URL getExpandedURL(); String getRawURL(); String getExpandedPath(); String getRawPath(); File getFile(); @Override String toString();  }### Answer:
@Test void testExpandEnvVars() { assertEquals(unifySlashes(System.getProperty("user.home")), expandEnvVars("${HOME}")); assertEquals(unifySlashes(Directories.getXdgJrdBaseDir()), expandEnvVars("${XDG_CONFIG_HOME}")); assertEquals(unifySlashes(getJrdLocation()), expandEnvVars("${JRD}")); }