void () { final ExpandMacroToPathMap map = new ExpandMacroToPathMap(); map.addMacroExpand("MACRO", "C:/idea"); final String expanded = map.substitute("jar://$UNKNOWN$/lib/forms_rt.jar!/", false); assertEquals("jar://$UNKNOWN$/lib/forms_rt.jar!/", expanded); }