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