void () { MockModule module = createModule(USER_HOME + "/IdeaProjects/foo"); assertReplacements( new ModulePathMacroManager(module).getReplacePathMap(), APP_HOME + " -> $APPLICATION_HOME_DIR$\n" + USER_HOME + "/IdeaProjects/foo/module -> $MODULE_DIR$\n" + USER_HOME + "/IdeaProjects/foo -> $MODULE_DIR$/..\n" + USER_HOME + "/IdeaProjects -> $MODULE_DIR$/../..\n" + USER_HOME + " -> $USER_HOME$"); }